|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
How does our team activate autonomuos mode to see if the programming we put in it works?
Thank you |
|
#2
|
||||||
|
||||||
|
Re: How to Start Autonomous mode?
you need to jumper from pins 5 to 8 on your operator interface competition port
a schematic for building an autonomous switch is here http://ifirobotics.com/docs/competit...guide-reva.pdf you can also buy one from http://andymark.biz |
|
#3
|
|||
|
|||
|
THANK YOU
|
|
#4
|
|||
|
|||
|
Re: How to Start Autonomous mode?
Quote:
|
|
#5
|
|||
|
|||
|
Re: How to Start Autonomous mode?
We were discussing this the other day. Since, if you don't wire up the disable/auton switch correctly, you will fry your operator interface. Yes, we did, twice... $200 to repair each time....
Instead of leaving it up to the teams to do this, it would be easy for them to include a correctly wired one and help to limit the number of controllers they have to fix! |
|
#6
|
|||
|
|||
|
Re: How to Start Autonomous mode?
You can also have a button on one of your joysticks to toggle the Auto mode function.
Code:
int automode=0;
if(p1_trig==1)autmode=1;
while(automode==1)
{
if(p1_trig==1)autmode=0;
User_Autonomous_Code();
}
|
|
#7
|
||||
|
||||
|
Re: How to Start Autonomous mode?
Quote:
I don't know much about C, so I wanted to ask before I mess something up. don't hurt me... |
|
#8
|
|||
|
|||
|
Re: How to Start Autonomous mode?
Quote:
Just make sure you initialize the trigger variable outside the function. Code:
int automode=0;
void Default_Routine(void)
{
what I had before....
}
Last edited by Tom Bottiglieri : 15-01-2006 at 14:37. |
|
#9
|
||||
|
||||
|
Re: How to Start Autonomous mode?
Quote:
![]() |
|
#10
|
||||
|
||||
|
Re: How to Start Autonomous mode?
<-- Totally my reaction! We gotta buying one of those switches!...not that we couldn't make it ourselves , but the fact that it has nice toggle switches and a giant stop the robot button so we won't have to chase down the robot, tackle it, and hit the e-stop ![]() |
|
#11
|
|||
|
|||
|
Re: How to Start Autonomous mode?
Make your disable button very, very big. And always have it plugged into the OI. Earlier today I had a robot start running away because the joystick was out of calibration... I was literally holding onto the transmission mount panel, and hoping that someone would come hit the circut breaker.
Last year I had the robot come full speed in reverse at me. That wasn't too fun. I think I may want to put a large EStop button on the robot itself this year..just tell it in code to zero all pwm's when its pressed ![]() |
|
#12
|
|||||
|
|||||
|
Re: How to Start Autonomous mode?
For the uninitiated: When Robots Attack. (Watch Phrontist get dragged around by a robot, laptop and all.
) |
|
#13
|
|||||
|
|||||
|
Re: How to Start Autonomous mode?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a simple autonomous mode question | chippermonky | Programming | 3 | 18-02-2005 01:54 |
| How do I enter the Autonomous mode? | CompMaster | Programming | 5 | 17-02-2005 19:12 |
| What do you do during autonomous mode? | Salik Syed | Programming | 46 | 21-03-2004 21:05 |
| Autonomous mode | Tyler Olds | General Forum | 30 | 22-02-2004 14:31 |
| Initializing autonomous mode | Mr. Lim | Programming | 7 | 02-02-2004 07:26 |