![]() |
2001 2002 in Automous
can the 2001 2002 controllers (oi and rc) support autonomous modes like 2003 and 2004?
|
Re: 2001 2002 in Automous
Quote:
|
Re: 2001 2002 in Automous
Quote:
We sent in our 02 controller to IFI and they updated it to the 2003 specs just for practicing...obviously since thye are different setups in 03/04 you wouldnt be able to use it competition wise |
Re: 2001 2002 in Automous
Theres only certain ones that can be updated. Somthing with your serial number said if you could update or not.
|
Re: 2001 2002 in Autonomous
The robot controller will not enforce autonomous by neutralizing the operator interface inputs before your user program sees them. You are free, however, to ignore data from the OI.
You could set up a switch on the OI which would initiate autonomous operations. (I haven't tried it, but it is conceivable that pin 5 of the competition port may actually be passed in the PB_mode byte, so that you might be able to use the same competition port dongle you already have.... You do have one, don't you? :confused: ) |
Re: 2001 2002 in Autonomous
Quote:
|
Re: 2001 2002 in Autonomous
Quote:
|
Re: 2001 2002 in Automous
Quote:
|
Re: 2001 2002 in Automous
Quote:
|
Re: 2001 2002 in Automous
Wouldn't it be possible to create a joystick trigger to start an "autonomous" mode. I think that something like this would be usable (its in C, its just for the basic idea):
Code:
/* Global Variables */Code:
/* Global Variables */ |
Re: 2001 2002 in Automous
Here I've made an attempt at re-writting this code in PBasic for the 2001-2002 controllers, here is the section of code, it SHOULD work, but I have no method of testing it right now. Also, for this to work, the variables "toggled" "prev_toggle" and "run_auto" must be created and initially set to 0.
Code:
IF (p1_aux = 1) & (prev_toggle = 0) THEN Toggler: |
Re: 2001 2002 in Automous
i think i remember somethign at the 2002 nationals where a robot won an award for autonomously grabbing the goals.....
|
Re: 2001 2002 in Automous
I am not sure that you could cause autonomous mode to initiate through some signal to the competition port, but it would be possible to create an autonomous mode that ran off of the joystick. This is how i tested our autonomous.
I made my autonomous code simply a function. I called it once in the autonomous mode section, and once with an iff statement that ran only if p4_wheel was greater than a certain value. Here is an example. Code:
if (p4_wheel > 200) |
| All times are GMT -5. The time now is 03:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi