Go to Post We also had a couple of student leaders emerge from this offseason Rumble, which can do nothing but help the team in the upcoming FRC season. - JesseK [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 05-02-2008, 02:38
garyk garyk is offline
Programming Mentor: 668, 972, 2643
FRC #0668 (Apes of Wrath)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Santa Clara (Silicon Valley) Calif.
Posts: 94
garyk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the roughgaryk is a jewel in the rough
A programming template for Autonomous Mode

Hi, all:

I uploaded a C-language template for implementing Autonomous Mode, using a state machine to step through a sequence of steps you want the 'bot to do in A/Hybrid mode. It's about 90% comments if you aren't familiar with state machines or some of the C-language commands. The title is:"A programming template for Autonomous Mode", or ChiefDelphi => CD Media => Papers, search, uploaded by garyk.

Comments are welcome -

GaryK
  #2   Spotlight this post!  
Unread 05-02-2008, 19:57
bronxbomber92 bronxbomber92 is offline
Registered User
FRC #1551 (Grapes of Wrath)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Naples
Posts: 75
bronxbomber92 is an unknown quantity at this point
Re: A programming template for Autonomous Mode

Looks pretty good. Definitely easy for begginners to understand while maintaining flexibility. Personally I'd implement it with structs that have a Enter, Execute and Leave function. But now relfecting back on that it might be hard to implement with proper OOP support (virtual functions..).

Good job
  #3   Spotlight this post!  
Unread 05-02-2008, 20:08
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: A programming template for Autonomous Mode

Very nice, now there is something to refer people who ask "So how do I do autonomous?" sIt's pretty good, except for the fact it relies solely on dead reckoning. You may want to add a note explaining what exactly dead reckoning is and why to use sensors if possible, if you don't want to make sensor drivers and the like for your state machine.

Last edited by psy_wombats : 05-02-2008 at 20:30.
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
Help needed in autonomous programming for hybrid mode Team_STORM Programming 3 21-01-2008 19:11
Help for finding Autonomous Programming Template vito3693 VEX 2 23-11-2006 19:01
inputting data for autonomous mode Lou Programming 2 16-02-2004 22:26
Programming Autonomous mode Jared Stofflett Programming 3 11-11-2003 09:32


All times are GMT -5. The time now is 03:26.

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