|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Autonomous Initilization
I am curious. If we wanted to have several different options for our autonomous 15 seconds, could there be switches on the OI for choosing between them, or would the switches have to be on the RC? I think that, to run, the OI will have to be in communication with the RC anyways.
|
|
#2
|
||||||
|
||||||
|
The OI needs to be in contact with the RC, but nothing it sends gets input into your code.
Basically, all the axes are set to 127 and all switches are set to off. Thus, the switches would need to be on the RC. |
|
#3
|
|||
|
|||
|
during autonomous mode, does the reset switch still work? if so, does it reset the RC, or just the OI?
|
|
#4
|
|||
|
|||
|
So how exactly will the autonomous mode be switched off? This may have been answered before, I haven't checked through all the threads yet.
|
|
#5
|
|||
|
|||
|
There is a bit that you test in code that tells you when the game is in auton mode. If you don't test for it it basically looks to your code like your OI is idle. The innovation first manuals describe how to test for it in code.
http://www.innovationfirst.com/first...ence_Guide.pdf |
|
#6
|
|||||
|
|||||
|
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
yeah, anything PLUGGED into the OI will not work. anything BUILT into the OI will work. that includes the E-Stop button for obvious reasons.
|
|
#9
|
||||||
|
||||||
|
Quote:
Half true. There's two resest buttons on the OI--one resets the OI and the other resets the RC. |
|
#10
|
|||
|
|||
|
then i guess we have our prog switcher right there. each time you reboot, pick a dif program. Replace the bat volt with the prog id. or something like that
|
|
#11
|
|||||
|
|||||
|
there's sample code in the manual for it to automatically switch...
just look in there under the different modes...it has the EXACT code you need if anyone has any trouble, feel free to contact me via PM or IM or e-mail *jeremy |
|
#12
|
|||
|
|||
|
First of all, you will not be able to reset the robot using the OI control because that switch is still based on radio trasmission to work. So you would also not be able to switch programs bassed on changing the batt volt to a program id because it will not transmit to the robot. To program autonomous mode you will have to use switches on your robot or just change the program before you get to the field based on the robots and teams that you are up against. You can always set the starting values of the speed controlers or the spikes though the program. This is also another way to program the autonomous mode.
|
|
#13
|
|||||
|
|||||
|
I agree...a switch or two on the "on board black box" circuit board should do the trick
![]() |
|
#14
|
||||
|
||||
|
Quote:
|
|
#15
|
|||
|
|||
|
What I have heard is that your controls (Joysticks and such) won't even be turned on by the judges until the 15 seconds are over. So I'm guessing all the control systems are plugged into a system that keeps them off for the 15 seconds, just like the system that activates the robots when all 4 pads are being stood on.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A better autonomous method.. | randomperson | Programming | 4 | 24-02-2004 18:02 |
| crazy idea for autonomous | Mike Ciance | Programming | 16 | 24-04-2003 21:50 |
| autonomous location | manodrum | Programming | 4 | 02-04-2003 08:05 |
| autonomous mode problem on field | Chris_C | Programming | 17 | 26-03-2003 19:11 |
| Autonomous Kill Switch | UCGL_Guy | Programming | 8 | 15-01-2003 17:39 |