|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
How do you turn on the Autonomous mode (to test)?
Hi i can't test autonomous, what i did was put some code in user routines where if a joystick trigger is pressed the autonomouse mode var is set to 0 but when i do it nothing happens????? I can still control the robot!
|
|
#2
|
|||
|
|||
|
Re: How do you turn on the Autonomous mode (to test)?
set team number to 0000
|
|
#3
|
||||
|
||||
|
Re: How do you turn on the Autonomous mode (to test)?
Go to http://www.innovationfirst.com/FIRST...nout_Guide.PDF
and make yourself a dongle, having a couple of switches to test auton, and to be able to disable the robot when needed are both invaluable, plus if you want to showcase multiple robots, you can change the channel of the radio as well. Highly recommended |
|
#4
|
||||
|
||||
|
Re: How do you turn on the Autonomous mode (to test)?
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: How do you turn on the Autonomous mode (to test)?
Quote:
a la, Code:
autonomous_mode = p1_sw_top;
if (autonomous_mode)
{
User_Autonomous_Code();
}
|
|
#6
|
|||
|
|||
|
Re: How do you turn on the Autonomous mode (to test)?
Thanx mark....(and others also) for the code.... i see what i did wrong ....
I didn't put this in: if (autonomous_mode) { User_Autonomous_Code(); } I thought that maybe just setting auton = 1 would do the trick i didn't know about that.. |
|
#7
|
||||
|
||||
|
Re: How do you turn on the Autonomous mode (to test)?
you could always copy and paste your code onto the bottom of user_routines.c and put an if statement over it...
if (p1_sw_trig = 1) run your auto code kinda thing |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| test autonomous mode | CharlieWilken | Programming | 14 | 20-02-2004 00:39 |
| inputting data for autonomous mode | Lou | Programming | 2 | 16-02-2004 22:26 |
| Initializing autonomous mode | Mr. Lim | Programming | 7 | 02-02-2004 07:26 |
| how can you use a gyro in autonomous mode | magical hands | Programming | 3 | 02-01-2004 13:31 |
| autonomous mode problem on field | Chris_C | Programming | 17 | 26-03-2003 19:11 |