Go to Post If 100 people from ChiefDelphi all wrote one full article on something that they are an 'expert' in, FIRSTwiki would be even better. - artdutra04 [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 12-02-2005, 16:49
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
need help with autonomous

Can anyone tell me the context when inserting code for autonomous i tried inserting code at the point in user_routines_fast.c where it says insert autonomous here or whatever but when i load it I can't get it to run and the ifi loader program that shows the status of the robot while your hooked up to it says "waiting for bump switch to be hit"?????? heres the code im using.

Getdata(&rxdata);
commands command_list [] = {
CMD_DRIVE(1000)
NULL
}

this may be stupid and way of but any help would be greatly appreciated.
Thanks
  #2   Spotlight this post!  
Unread 12-02-2005, 16:53
thoughtful's Avatar
thoughtful thoughtful is offline
Registered User
FRC #1219 (Emery Iron Eagle)
Team Role: Alumni
 
Join Date: Nov 2003
Location: Toronto,Canada
Posts: 291
thoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to beholdthoughtful is a splendid one to behold
Re: need help with autonomous

Make your commands in command.h, then comment the robot_control() in user_routines.c out and uncomment robot_control() in user_routines_fast.c

To test your robot in autonomous mode u need a swith connected to the Competition port. The switch basically tells the robot if autonomous is on or off.
__________________
.:Bringling Brains to Life:.

03,04,05-Team 1219 Captain
2003 Rookie all Start @ GTR
2005 Galileo Semi-Finalist & Alliance captain
06-Team 1219 Mentor
2006 Radio Shack Innovation in control @ Waterloo
  #3   Spotlight this post!  
Unread 12-02-2005, 17:31
sirbleedsalot's Avatar
sirbleedsalot sirbleedsalot is offline
Registered User
FRC #0939
Team Role: Student
 
Join Date: Feb 2004
Location: New Effington South Dakota
Posts: 178
sirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura aboutsirbleedsalot has a spectacular aura about
Re: need help with autonomous

If you do not have the dongle made yet you can put your robot on blocks and set the team number to 0000 and auto mode will start when you turn it on.
__________________
our web site
  #4   Spotlight this post!  
Unread 14-02-2005, 18:25
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
Re: need help with autonomous

I tried doiing what you told me about commenting certain parts and uncommenting others then changed the team number to 0000 tried my autonomous code again and it still isn't doing anything. In the IFI loaders program status window it just says "waiting for bump switch to be hit". If anyone just has some example code I would appreciate it. I don't want to copy anyones code but if someone has some example code from autonomous mode out of the user routines fast file where i would greatly appreciate it.

Last edited by caderader : 14-02-2005 at 18:37.
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
Wolrd Triple Play Autonomous Mode (WAM) Standards Natchez General Forum 3 11-01-2005 15:52
Next Years Game? Jeremy General Forum 49 27-04-2004 01:53
Despite what IFI says, you can configure autonomous from OI... TedP Programming 19 31-03-2004 10:09
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11


All times are GMT -5. The time now is 00:02.

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