public class GrabBallIntakeToNeutral extends ArmTransition
Constructor and Description |
---|
GrabBallIntakeToNeutral(Arm arm,
BaseIntake intake) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Edge o) |
CommandGroup |
getCommand() |
void |
initTransition() |
getCost, getDest, getSource
public GrabBallIntakeToNeutral(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)