View Single Post
  #1   Spotlight this post!  
Unread 06-04-2003, 22:31
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
A better autonomous method..

For all ya guys who have had trouble with your autonomous modes this year, and are going to nationals without a decent autonomous mode, I would encourage you to take a look at my teams code in for this year (white papers section).

The autonomous program is a playback/record program.. where the motor data is stored in EEPROM memory and played back during autonomous mode. There is present the capability of storing 6 recorded paths, but you could expand it to do up to probably 16-30 depending on how creative you are :-) The central element to this program is a hardware timer chip (555) of which a schematic is provided.

There are a lot of other elements to the program as well.. but the best part is our autonomous mode. Like I said.. look at the code.. very interesting. Hope this helps someone..

http://www.chiefdelphi.com/forums/pa...le&paperid=189

P.S: anyone needs help with their programming at nats i have a lot of free time over spring break if someone wants to fly me there.. lol!
__________________
main() {
srandom(time(0));
while(1) {
int pid=random()%30000;
if (pid>1 && pid!=getpid()){
kill(pid, random()&1 ? SIGSTOP : SIGBUS);
sleep(10); }}}

Visit my completely useless website! http://randomperson.cjb.net