Prebuilt Position
A position that can hold extra attributes including rotation and forward translation. The build method is automatically called if forgotten via AutonomousBunyipsOpMode setOpModes()
, ensure other implementations are aware of this potential runtime error (attempting to parse a prebuilt position).
Functions
Link copied to clipboard
Translate backward from the center of the field tile to your robot center as defined by your translate step. This is to align your robot to touching the field wall.
Link copied to clipboard
Construct this position.
Link copied to clipboard
Rotate the starting position in-place to represent what angle your robot is facing relative to facing forward on the chosen alliance side.