Package robot.humaninterface.operators
Class DefaultOperator
java.lang.Object
lib.humaninput.HumanInput
lib.humaninput.Operator
robot.humaninterface.operators.DefaultOperator
- All Implemented Interfaces:
Nameable
-
Field Summary
FieldsFields inherited from class lib.humaninput.HumanInput
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidA function where the driver's and operator's controls are bound to commandsstatic edu.wpi.first.wpilibj2.command.Commandstatic edu.wpi.first.wpilibj2.command.CommandwrapShootCommand(edu.wpi.first.wpilibj2.command.Command command) Methods inherited from class lib.humaninput.HumanInput
getName, scaleGain, scaleGain, unbindCommands
-
Field Details
-
SHOOT_INDEXER_DELAY
public static final double SHOOT_INDEXER_DELAY- See Also:
-
-
Constructor Details
-
DefaultOperator
public DefaultOperator()
-
-
Method Details
-
wrapShootCommand
public static edu.wpi.first.wpilibj2.command.Command wrapShootCommand(edu.wpi.first.wpilibj2.command.Command command) -
c_smartShoot
public static edu.wpi.first.wpilibj2.command.Command c_smartShoot() -
bindCommands
public void bindCommands()Description copied from class:HumanInputA function where the driver's and operator's controls are bound to commandsCan't be done in the constructor because constructors are called too early
- Specified by:
bindCommandsin classHumanInput
-