Go to Post This thread is a reminder to myself that I have 29 more days to sleep. :) - Seth Mallory [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 15-01-2006, 14:03
Oumonkey's Avatar
Oumonkey Oumonkey is offline
Master of the If statement
AKA: Josh Tyus
FRC #1555 (Pulse)
Team Role: Programmer
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Monon, IN
Posts: 50
Oumonkey has a spectacular aura aboutOumonkey has a spectacular aura about
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Tom Bottiglieri
You can also have a button on one of your joysticks to toggle the Auto mode function.

Code:
int automode=0;

if(p1_trig==1)autmode=1;

while(automode==1)
{
     if(p1_trig==1)autmode=0;
     User_Autonomous_Code();
}
Where would I put that piece of code?
I don't know much about C, so I wanted to ask before I mess something up. don't hurt me...
__________________
 


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 simple autonomous mode question chippermonky Programming 3 18-02-2005 01:54
How do I enter the Autonomous mode? CompMaster Programming 5 17-02-2005 19:12
What do you do during autonomous mode? Salik Syed Programming 46 21-03-2004 21:05
Autonomous mode Tyler Olds General Forum 30 22-02-2004 14:31
Initializing autonomous mode Mr. Lim Programming 7 02-02-2004 07:26


All times are GMT -5. The time now is 17:50.

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