Package com.thunder.lib.auto
Class ThunderAutoModeStep
java.lang.Object
com.thunder.lib.auto.ThunderAutoModeStep
Represents a ThunderAuto autonomous mode.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the action to run at this ACTION step.Returns the name of the condition to run at this BRANCH_BOOL/BRANCH_SWITCH step.Returns the name of the trajectory to run at this TRAJECTORY step.getType()Returns the type of the auto mode step.booleanisValid()Checks if the auto mode step is valid.
-
Method Details
-
isValid
public boolean isValid()Checks if the auto mode step is valid.- Returns:
- True or false.
-
getType
Returns the type of the auto mode step.- Returns:
- Auto mode step type.
-
getActionName
Returns the name of the action to run at this ACTION step.- Returns:
- Action name
-
getTrajectoryName
Returns the name of the trajectory to run at this TRAJECTORY step.- Returns:
- Trajectory name
-
getConditionName
Returns the name of the condition to run at this BRANCH_BOOL/BRANCH_SWITCH step.- Returns:
- Condition name
-