Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Autonomous Program Switch (http://www.chiefdelphi.com/forums/showthread.php?t=79764)

yara92 10-01-2010 15:49

Re: Autonomous Program Switch
 
4 Attachment(s)
we use this in FRC 2009
see pic

Al Skierkiewicz 12-01-2010 07:54

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.

Andrew Morris 12-01-2010 10: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.

Racer26 12-01-2010 13:13

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.

Rion Atkinson 12-01-2010 13:47

Re: Autonomous Program Switch
 
Quote:

Originally Posted by Imadapocalypse (Post 895040)
I am not sure if this is entirely possible but i was wondering if it possible to create a physical switch on your robot to toggle between autonomous programs.

I know it has been answered, bu yes. You can indeed do this.

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? :D

-Rion

Dennis Erickson 11-02-2010 19:58

Re: Autonomous Program Switch
 
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.

Heath 12-02-2010 15:00

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.

Alan Anderson 12-02-2010 15:11

Re: Autonomous Program Switch
 
Quote:

Originally Posted by Heath (Post 918676)
...there was actually a pre-made block to determine your starting position in the WPI robotics library.

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.


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

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