View Single Post
  #3   Spotlight this post!  
Unread 24-02-2004, 15:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Autonomous testing question

Quote:
Originally Posted by tml240
according to our sources, the user_routines_fast.c would not work for autonomous testing, because we do not have signal from FIRST competition arena to activate the Autonomous part in the user_routines_fast.C. anyone knows how fix the code to test it in user_routines_fast.c?
Several methods:

1) Build a competition port dongle as noted above
2) Assign a joystick button or a robot switch to start autonomous, e.g.,
Code:
in main.c after Getdata()
 
autonomous_mode = !p1_sw_trig;
With a joystick trigger holding the button could keep it in autonomous and releasing it could immediately stop auto. You'll need a way to stop quickly.
3) Hardcode a call to your autonomous routine and pull the OI power to emergency stop.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-02-2004 at 15:49.