View Full Version : Switching to/from autonomous mode
HI EVeRYBODY!!!:)
ANSWER ME ON TWO QUESTIONS:
1)HOW I AM CHANGING TO AUTONOMOUS MODE WITHOUT CONFIGURING THE COMPETITON PORT AND ALSO WITHOUT USING A TETHER.
2)WHAT IS THIS ERROR:
"main.c' name exceeds file format maximum of 62 characters."
TNX FOR YOUR HELP!;)
Kingofl337
12-02-2007, 07:32
1.) Did you set your team number in the OI?
2.) Your files are nested too deeply try moving them to c:\folder name
NeedMoreEngines
12-02-2007, 11:16
HI EVeRYBODY!!!:)
ANSWER ME ON TWO QUESTIONS:
1)HOW I AM CHANGING TO AUTONOMOUS MODE WITHOUT CONFIGURING THE COMPETITON PORT AND ALSO WITHOUT USING A TETHER.
2)WHAT IS THIS ERROR:
"main.c' name exceeds file format maximum of 62 characters."
TNX FOR YOUR HELP!;)
1- well you're gonna wanna make an "Autonomous Switch" that allows you to switch between autonomous mode and R/C mode. I believe this plugs into the competition port. It's pretty easy you can buy all the stuff at radioshack.
2-Dunno. I'm not a programmer.
Alexa Stott
12-02-2007, 11:22
HI EVeRYBODY!!!:)
ANSWER ME ON TWO QUESTIONS:
1)HOW I AM CHANGING TO AUTONOMOUS MODE WITHOUT CONFIGURING THE COMPETITON PORT AND ALSO WITHOUT USING A TETHER.
2)WHAT IS THIS ERROR:
"main.c' name exceeds file format maximum of 62 characters."
TNX FOR YOUR HELP!;)
1. If you have a switch on your control system (or just one of the buttons on the joystick), you can have that execute your autonomous mode for testing. If you know how to, though, just do what NeedMoreEngines said and make yourself a switch.
For example, you can have something like
if(p1_sw_top == 1)
{
NameOfAutoMode();
}
2) See Kingof1337's post. He is right.
Dominicano0519
12-02-2007, 11:26
im not in programing but the there is a switch that gets plugged into the OI called a dongle that allows you to toggle autonomus mode on or off.
EHaskins
12-02-2007, 12:35
1. Here is the schematic for the dongle. http://www.ifirobotics.com/docs/competition-port-pinout-guide-reva.pdf
2. The maximum length for the file names are 62 chars. Move your code to a short path(ie. C:\robots\2007\).
Alexa Stott
12-02-2007, 16:14
1. Here is the schematic for the dongle. http://www.ifirobotics.com/docs/competition-port-pinout-guide-reva.pdf
In the long run, it will be beneficial to make one of these switches. You can use my suggestion above until you have something like this, but you do not and cannot use that during an actual competition.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.