Go to Post It's not a rendering mistake, it's a design challenge! - Eric Scheuing [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 4 votes, 4.50 average. Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 04-01-2003, 16:38
Ken Delaney's Avatar
Ken Delaney Ken Delaney is offline
Registered User
#0357 (Royal Assault)
 
Join Date: Jan 2002
Location: Drexel Hill,PA
Posts: 40
Ken Delaney is an unknown quantity at this point
Send a message via Yahoo to Ken Delaney
In the code there is already an alias defined to see if you are in autonomous mode called "auton_mode" . It is bit 6 of the PBmode variable.

There is an example of how to code for this in the Programming Reference Guide, which can be found in the documents section at Innovation First's web site The example is written as
If auton_mode = 1 then do_autonomous_stuff
'Normal drive code
goto end_of_autonomous

do_autonomous_stuff:
'Autonomous mode code
end_of_autonomous:

The Programming Reference Guide is well done. It will be a big help to new PBasic programmers.
As one of the coaches of the control team I am really looking forward to developing the autonomous mode code. Of course I say this now, talk to me in six weeks.
__________________
Ken Delaney
"Dare mighty things!"
Reply With Quote
 


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
A better autonomous method.. randomperson Programming 4 24-02-2004 18:02
crazy idea for autonomous Mike Ciance Programming 16 24-04-2003 21:50
autonomous location manodrum Programming 4 02-04-2003 08:05
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
Autonomous Kill Switch UCGL_Guy Programming 8 15-01-2003 17:39


All times are GMT -5. The time now is 15:37.

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