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, getSourcepublic 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 ArmTransitionpublic CommandGroup getCommand()
getCommand in class ArmTransitionpublic int compareTo(Edge o)