|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
2 Autonomous Codes for Competition
Hello everyone, our team was wondering if we could switch between 2 autonomous codes before each round of the competition depending on what defenses that we want to breach. If so, how do you switch between the 2 codes on the driver station without using the USB to Roborio cord?
|
|
#2
|
|||||
|
|||||
|
Re: 2 Autonomous Codes for Competition
Answer of switching auto codes:
Nothing prohibits this. Answer to the rest of the question: You could use a switch on the robot, a switch on the driver's station, and have your code read what the switch is set to right at the start of auto. |
|
#3
|
|||
|
|||
|
Re: 2 Autonomous Codes for Competition
https://wpilib.screenstepslive.com/s...smartdashboard
We are using a Sendable Chooser, which you can learn about in the link above. Essentially, you can add different auto options, and then in the setup before a match, you choose whatever option you want from the SmartDashboard. Hope this helps! ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|