Go to Post The spirit of the game, and the game are essentially two different things. - ttldomination [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 28-01-2005, 23:52
caderader's Avatar
caderader caderader is offline
caderader
#1284 (DART)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: gville
Posts: 19
caderader is an unknown quantity at this point
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
  #2   Spotlight this post!  
Unread 29-01-2005, 00:04
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,188
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
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"
  #3   Spotlight this post!  
Unread 29-01-2005, 16:49
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
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.
  #4   Spotlight this post!  
Unread 17-02-2005, 09:58
Moloch's Avatar
Moloch Moloch is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Michigan
Posts: 39
Moloch can only hope to improve
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.
  #5   Spotlight this post!  
Unread 18-02-2005, 00:52
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 751
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
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
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
  #6   Spotlight this post!  
Unread 18-02-2005, 16:49
drive_monster drive_monster is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Virginia
Posts: 1
drive_monster is an unknown quantity at this point
Re: Where to insert code Autonomous mode

Quote:
Originally Posted by chakorules
yeah sure whatever
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
A little question about the autonomous mode Anton Programming 4 18-01-2005 14:08
Anybody have a code for an autonomous mode to go to the 50 point bar???? and... chaoticprout Programming 9 06-11-2004 12:22
heres the code. y this not working omega Programming 16 31-03-2004 15:18
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11


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

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