Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Switching to/from autonomous mode (http://www.chiefdelphi.com/forums/showthread.php?t=53965)

RDD 12-02-2007 06:41

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

Re: HELP ME PLZ
 
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

Re: HELP ME PLZ
 
Quote:

Originally Posted by RDD (Post 576474)
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

Re: HELP ME PLZ
 
Quote:

Originally Posted by RDD (Post 576474)
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
Code:

if(p1_sw_top == 1)
{
NameOfAutoMode();
}

2) See Kingof1337's post. He is right.

Dominicano0519 12-02-2007 11:26

Re: HELP ME PLZ
 
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

Re: HELP ME PLZ
 
1. Here is the schematic for the dongle. http://www.ifirobotics.com/docs/comp...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

Re: HELP ME PLZ
 
Quote:

Originally Posted by EHaskins (Post 576656)
1. Here is the schematic for the dongle. http://www.ifirobotics.com/docs/comp...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.


All times are GMT -5. The time now is 22:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi