Go to Post It's easy to get overwhelmed. Don't get overwhelmed, just keep working at things a little bit at a time. (Oh, and don't forget to have fun!) - DominickC [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2003, 21:16
David Bryan David Bryan is offline
Registered User
#0818 (Steel Armadillo)
 
Join Date: Jan 2002
Location: Warren Consolidated Schools
Posts: 8
David Bryan is an unknown quantity at this point
Unhappy Autonomous Mode

Thanks to Ian Krieg for some help on this. I would still like to get more information:

My question:
Can you help us with the mode in the program in going from the Autonomous
>Mode to the operator mode. I assume there must be some code to allow the
>autonomous mode to run for the first 15 seconds, and then allow the
>operator interface code to proceed for the rest of the match.

Ian answered:
The new default code, which apparently requires a new beta of the
stamp software, defines extra bits in PB_Mode, one of which is called
something like auton_mode. If you copy that part of the new default
code to your own default code, I expect you will be able to use that
code in your robot without difficulty.

If auton_mode = 0 then UseControls:

I would like some extra help with this DBryan
  #2   Spotlight this post!  
Unread 21-01-2003, 21:15
n[ate]vw's Avatar
n[ate]vw n[ate]vw is offline
Registered User
#0933 (Adler Attack)
 
Join Date: Jan 2003
Location: Rockford, IL
Posts: 48
n[ate]vw is an unknown quantity at this point
Send a message via AIM to n[ate]vw
auton_mode is a variable that is automatically set to 1 when autonomous mode is enabled and 0 when it is disabled. The line
Quote:
If auton_mode = 0 then UseControls
(note removed colon) says "if the autonomous mode is off, go to the section of the program labeled 'UseControls:' "

You can search the forums, or go to the documentation at innovationfirst.com, for a competition port dongle that will let you test these modes before the actual competition.
__________________
Adler Attack #933 -- Trigos
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Autonomous mode Jared Stofflett Programming 3 11-11-2003 09:32
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
Autonomous mode AntmanIV General Forum 1 17-02-2003 13:30
autonomous mode timer Don Programming 6 09-02-2003 22:16
autonomous mode? bigwalt Technical Discussion 1 21-01-2003 01:14


All times are GMT -5. The time now is 03:56.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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