public class NeutralToStow extends ArmTransition
Constructor and Description |
---|
NeutralToStow(Arm arm,
BaseIntake intake) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Edge o) |
CommandGroup |
getCommand() |
void |
initTransition() |
getCost, getDest, getSource
public NeutralToStow(Arm arm, BaseIntake intake)
start
- The start ArmState (the ArmState that holds this
transitions)destination
- The ending ArmState (where this transition should go to)arm
- The Arm. Should be the static instance of Arm held in
Robotintake
- The Intake. Should be the static instance of Intake held
in Robotpublic void initTransition()
initTransition
in class ArmTransition
public CommandGroup getCommand()
getCommand
in class ArmTransition
public int compareTo(Edge o)