View Single Post
  #4   Spotlight this post!  
Unread 07-03-2005, 10:53
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: Cam interupt question

The kickoff demonstration version of the camera driving code (if it's the version 2.4 FIRST released) looks like it might just have operated by driving at a slow enough speed such that it was stopped when it pushed lightly up against something (a leg, a goal).

It looks like the max forward speed was 150.
Code:
user_routines.c:38: const int speed_setting = 150; //forward speed setting (127 to 254)
user_routines_fast.c:31: extern int speed_setting;
user_routines_fast.c:154: if (speed_setting < 128 || speed_control > 254) //Check speed_setting for valid forward speed
user_routines_fast.c:155:	 speed_setting = 150;			//If not valid number set to default
user_routines_fast.c:158:	 speed_control = speed_setting;
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 07-03-2005 at 10:56.