|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Pre match switch for autonomous
The best way to do it would be to utilized the disabled area in your programming and feed back onto your driver station. Your joysticks work just fine in disabled - the only thing not working is the motor outputs.
Therefore you can use the buttons on your joysticks to select your auton after you power everything up, from your driver station. |
|
#2
|
|||
|
|||
|
Re: Pre match switch for autonomous
You have a number of digital inputs available on the side car in the robot. You can wire switches to these inputs and the robot will read them reliably all of the time. You can also use inputs at the driver's station, but these inputs will be adversely affected during autonomous. You have to read and save the values during the disabled period before autonomous is started for later use during autonomous. In past years one has had to be very careful about how you read switches prior to autonomous, to make sure that you get correct values.
Eugene |
|
#3
|
||||
|
||||
|
Re: Pre match switch for autonomous
we used this last year for lunacy we had the switch being the right wheel on the joystick
<30 = near starting >30 and <70 = middle >70 = far |
|
#4
|
|||
|
|||
|
Re: Pre match switch for autonomous
Quote:
Quote:
Where is there more details on the beginning, "disabled" time, and autonomous mode in the FRC Rules? I searched quite a while and could only find rule <G02> which just states that: "The AUTONOMOUS PERIOD is the 15-second period at the start of the MATCH. DRIVER control of the ROBOT is not permitted at this time. During this period, the ROBOTS may react only to sensor inputs and commands programmed into the onboard control system." Any more details? Thanks much! |
|
#5
|
||||
|
||||
|
Re: Pre match switch for autonomous
The period we're talking about isn't an official in-the-rules period of time. After you set your robot up on the field, get your driver station plugged in, and get it all powered up, you'll be running any code that you put in the "disabled" VI (if you're using labview. C++ and Java have equivalents).
This means that you'll have 30 seconds to a minute where everything is powered up and running when you can set your mode. |
|
#6
|
|||
|
|||
|
Re: Pre match switch for autonomous
Okay, that makes our job much easier!
Thank you all very much! |
|
#7
|
||||
|
||||
|
Re: Pre match switch for autonomous
We've been having a discussion in this thread regarding the various robot states and the modes that will be commanded during competitions.
There are a few assumptions in here that conflict a little with the thread over in the NI/Programming thread ... Namely, the Joystick (and other) values from the drivers station are not "zeroed out" but rather, latched just before going into Autonomous Enabled. Personally, I prefer putting the switches on the 'bot ... but there are many proponents of putting them at the DS so that they can perform "last minute" changes to their Auton strategy. |
|
#8
|
|||
|
|||
|
Re: Pre match switch for autonomous
Okay i read the other post, and i think i understand a decent amount of it but i feel like i missed some of the concepts as well.
I am part of a rookie team and haven't had much experience so this is al a bit of a trial by fire. When you say: Quote:
|
|
#9
|
|||
|
|||
|
Re: Pre match switch for autonomous
Quote:
Loosely, it means to store the value in a place where it will be retained until you decide you no longer need it. And yes, it means you can set the throttle pre-match. Greg McKaskle |
|
#10
|
||||
|
||||
|
Re: Pre match switch for autonomous
A set of switches on the side car will get the job done. Since there is no interaction in auton, there's no reason you need to wait until your opponents place robots to decide your autonomous mode, the main reason to put the switches on the DS.
You can use a simple binary system to get 2^x auto modes with x switches. Or if you want to configure something in your auto mode, you can use a few switches to set a value from, say, 0 to 15. No idea why you'd want to do THAT though... ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Pre Match Strategizing | Alex Dinsmoor | Extra Discussion | 1 | 01-04-2009 18:09 |
| Pre-match Checklist | scottydoh | General Forum | 21 | 26-03-2008 16:27 |
| Pre-Match Strategy Sessions | Chris Fultz | General Forum | 11 | 21-04-2007 16:07 |
| Good Switch For Autonomous Mode Select | misterfoo | Electrical | 11 | 19-03-2006 16:37 |
| Pre-Match/Post- Match Pit Routine | Mark_lyons | General Forum | 14 | 31-03-2002 15:19 |