Builder
Utility builder for a StartingConfiguration.Position.
Types
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
Sets the translational index of the field tile to start on (number 0.5-6.5, fractional values permitted for half-tiles). This translation is positioned in the vertical center of the field tile, starting from the side of the origin.
Translate over from the origin (field wall) to choose the robot starting translation. This translation is positioned in the vertical center of the field tile, starting from the side of the origin.