Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Where to insert code Autonomous mode (http://www.chiefdelphi.com/forums/showthread.php?t=33572)

caderader 28-01-2005 23:52

Where to insert code Autonomous mode
 
I have already made the code i want to put in to my robot for autonomous mode, but I am not sure where to insert it whether in Robot.c or somewhere else the code just uses some of the basic functions(CMD_Drive, CMD_Stop, etc...) can anyone tell me where i should insert this? Thanks

Tom Bottiglieri 29-01-2005 00:04

Re: Where to insert code Autonomous mode
 
In user_routines_fast.c , there is a function called Autonoumous mode. Look for the comment "//" where it says "insert code here"

Astronouth7303 29-01-2005 16:49

Re: Where to insert code Autonomous mode
 
Commands.h is where the scripting stuff goes. I recomend reading the whitepaper Autonomous Scripting for details as to how exactly the script works.

Moloch 17-02-2005 09:58

Re: Where to insert code Autonomous mode
 
What exactly do we put into user_routines_fast so that the robot.c file will go through and execute the command.h file. I am pretty new to this kind of thing, so... any help will be appreciated. I have two encoders and a gyro, and I need to know where I have to change things to get everything to run smoothly. Thanks.

Chris_Elston 18-02-2005 00:52

Re: Where to insert code Autonomous mode
 
Quote:

Originally Posted by Moloch
What exactly do we put into user_routines_fast so that the robot.c file will go through and execute the command.h file. I am pretty new to this kind of thing, so... any help will be appreciated. I have two encoders and a gyro, and I need to know where I have to change things to get everything to run smoothly. Thanks.


See this post:
http://www.chiefdelphi.com/forums/sh...ad.php?t=34815

drive_monster 18-02-2005 16:49

Re: Where to insert code Autonomous mode
 
Quote:

Originally Posted by chakorules

yeah sure whatever


All times are GMT -5. The time now is 14:10.

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