Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Rules/Strategy (http://www.chiefdelphi.com/forums/forumdisplay.php?f=6)
-   -   2 Autonomous Codes for Competition (http://www.chiefdelphi.com/forums/showthread.php?t=144464)

Kevin Pai 22-02-2016 20:43

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?

EricH 22-02-2016 20:46

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.

wjd13 22-02-2016 20:56

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! :)


All times are GMT -5. The time now is 11:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi