Class BLineAuton
java.lang.Object
com.stuypulse.robot.commands.auton.BLineAuton
- All Implemented Interfaces:
Auton
Implementation of
Auton using BLine paths-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBLineAuton(bline.path.Path[] paths, String name, org.wpilib.command3.Command... commands) Creates an auton that previews the given paths and runs the given commands -
Method Summary
Modifier and TypeMethodDescriptionvoidClear auton path trajectories from elasticvoidDisplay auton path trajectories on elasticorg.wpilib.command3.Command
-
Field Details
-
paths
-
command
-
-
Constructor Details
-
BLineAuton
Creates an auton that previews the given paths and runs the given commands- Parameters:
paths- Paths to previewname- Name of auton command given to schedulercommands- Auton command seqeunce
-
-
Method Details
-
displayPaths
Description copied from interface:AutonDisplay auton path trajectories on elastic- Specified by:
displayPathsin interfaceAuton
-
clearPaths
Description copied from interface:AutonClear auton path trajectories from elastic- Specified by:
clearPathsin interfaceAuton
-
getCommand
- Specified by:
getCommandin interfaceAuton- Returns:
- The auton command to be scheduled
-