Thread: Up the Ramp
View Single Post
  #14   Spotlight this post!  
Unread 10-03-2003, 12:32
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,797
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
Just a note to add to the earlier comment about the joysticks.
Autonomous mode will send exactly the max PWM you tell it to, but we've found variations from joystick to joystick even discounting offsets due to trim wheel. One set of our joysticks when trimmed perfectly send values between 23 and 239 as the max/min, so human drivers would always be under powered.
The simple check is to measure each of your joystick outputs with DEBUG statements and the slop can be easily corrected for in the code.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote