View Single Post
  #2   Spotlight this post!  
Unread 09-03-2015, 13:49
Joe G.'s Avatar
Joe G. Joe G. is offline
Taking a few years (mostly) off
AKA: Josepher
no team (Formerly 1687, 5400)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Worcester, MA
Posts: 1,447
Joe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond repute
Send a message via AIM to Joe G.
Re: Need A Little Help On How To Make Autonomous Switcher

This can be done on the robot, but a lot of teams find it even easier to put on their driver station (perfectly legal, as long as it isn't touched or intereacted with during the actual autonomous period). Simply use a device which can pass a signal to the roboRIO, or to the TI breakout board you got in your kit of parts for custom driver station components. (could be any of a number of things...a potentiometer hooked to an analog input, a series of dip switches or jumpers on digital inputs, etc.)

In your code, you would load all possible autonomous modes on to the roboRIO. When autonomous starts, the first thing you do is read the value of this device. Using if-else statements, or a case structure, you would tell your robot to do one of any number of possible autonomous modes.
__________________
FIRST is not about doing what you can with what you know. It is about doing what you thought impossible, with what you were inspired to become.

2007-2010: Student, FRC 1687, Highlander Robotics
2012-2014: Technical Mentor, FRC 1687, Highlander Robotics
2015-2016: Lead Mentor, FRC 5400, Team WARP
2016-???: Volunteer and freelance mentor-for-hire