|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: Autonomous Program Switch
we use this in FRC 2009
see pic |
|
#17
|
|||||
|
|||||
|
Re: Autonomous Program Switch
We have been using a program select switch at the DS for many years. Using a modified Radio Shack rotary switch and an analog input we can select one of 11 different program settings. A search of this site will turn up some interesting past discussions.
|
|
#18
|
||||
|
||||
|
Re: Autonomous Program Switch
Last year we used three SPST on the DS (mounted on a piece of polycarb) to set autonomous modes by treating each one as a binary bit, giving us 8 possible auto modes. This system is simple to use and remember, can be changed right up until you step back, and can easily be expanded by adding another switch. I'm not sure how the implementation would work with the new driver station system, but we have also used the same switch setup on the robot ('08 I think) when we couldn't get a signal to pass from the driver station to the robot during auto.
|
|
#19
|
|||
|
|||
|
Re: Autonomous Program Switch
Yup, selectable autonomous is doable from both the DS and Robot end of the equation, though admittedly, I feel its easier and less prone to muck ups from the Robot end.
Its been being done by lots of teams for many years. My team specifically has been using a device called a thumbpot, i think. It is a 2 digit selector with + and - keys for each digit, and reports an analog voltage back to the cRIO. Some fancy code to turn that back into the number shown on it, and away you go. |
|
#20
|
|||||
|
|||||
|
Re: Autonomous Program Switch
Quote:
We had a set of several switches on our robot. Basically it was like writing down rules. Go forward or back, next switch said how far, ect. ect. Now with last years floor... We never perfected it. Maybe this year? ![]() -Rion |
|
#21
|
|||
|
|||
|
If you want a very simple solution you can use the USER1 switch on the cRIO. Using the "FRC ReadSwitch.vi" will return its position. This is a very small switch and you should be carefull when using it. Do not move the other switches in the area.
|
|
#22
|
||||
|
||||
|
Re: Autonomous Program Switch
Last year, our team made a box with three switches that we connected to the digital IO sidecar that gave us more possible autonomous modes than we actually used. However, we discovered a little to late that there was actually a pre-made block to determine your starting position in the WPI robotics library. It may still be applicable this year.
|
|
#23
|
|||||
|
|||||
|
Re: Autonomous Program Switch
It only tells you which spot in the alliance station your controls are assigned to. It doesn't have anything to do with where on the field your robot starts.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Autonomous Controller Board Switch | merybar | Technical Discussion | 9 | 25-03-2008 08:04 |
| Autonomous Controller Board Switch | merybar | General Forum | 2 | 27-01-2008 12:54 |
| pic: Autonomous Mode Switch | Gary Bonner | Robot Showcase | 4 | 18-02-2005 21:58 |
| Using a switch before autonomous operation | KZos550 | Programming | 11 | 04-02-2003 19:12 |
| Autonomous Kill Switch | UCGL_Guy | Programming | 8 | 15-01-2003 17:39 |