View Single Post
  #8   Spotlight this post!  
Unread 02-12-2004, 13:20
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,855
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: pwm ouput limiting

Quote:
Originally Posted by gwross
That should probably be
Code:
if (rightTopSpeed < 250) // Limit how high it can go
otherwise your top speed could go as high as 257 -- which, i suspect, would cause unexpected results.
You know, I actually thought about that too, but forgot to carry through on the thought.

Thanks Greg
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle