Implement the framework for selecting an autonomous mode using the rotary selector switch, and instantiating the correct Command or CommandGroup based on the switch value.
Start by setting ALL 12 selector switch values to run the same command: do nothing.
Will need to implement a constant to tell the code which analog input port to read to find the switch.
As always, make the code clear, easy to understand, well commented, and tested on any of the robots that have a switch installed (Mergius and Mergonaut). Test using auto mode or practice mode on the driver station.
Implement the framework for selecting an autonomous mode using the rotary selector switch, and instantiating the correct Command or CommandGroup based on the switch value.
Start by setting ALL 12 selector switch values to run the same command: do nothing.
Will need to implement a constant to tell the code which analog input port to read to find the switch.
As always, make the code clear, easy to understand, well commented, and tested on any of the robots that have a switch installed (Mergius and Mergonaut). Test using auto mode or practice mode on the driver station.