FRC2706 / 2020-2706-Robot-Code

The Robot Code for the 2020 FIRST Robotics Competition INFINITE RECHARGE
Other
4 stars 2 forks source link

Implement Autonomous Mode: Do Nothing #69

Closed kevlam2706 closed 4 years ago

kevlam2706 commented 4 years ago

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.