Thread: Victor troubles
View Single Post
  #14   Spotlight this post!  
Unread 03-04-2011, 18:10
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Victor troubles

Bob and Alex,
In the absence of actual conversion in your code, the speed controllers are capable of "learning" the joystick values from PWM input for full forward and full reverse and will use the center position to set brake/coast mode and zero throttle. Since most resistors in joysticks are +/-20% accurate minimum, if you pass joystick values directly to the controllers, they will not match what was set at the factory. In that case, full throttle may not be achieved, motors will not come to rest when the joystick is centered, etc. Hobby PWM uses values of 0 indicate full throttle in one direction, 254 full throttle in the other direction and 127 for zero throttle.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.