Thread: Forklift
View Single Post
  #6   Spotlight this post!  
Unread 18-01-2014, 21:42
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Forklift

Do you want the joystick to control the speed of motion of the motors? You can just get the joystick x-axis value and wire it to a motor set function. That way, if the joystick is centered the motor does not turn, and the farther away from center the joystick is moved, the faster the motor turns.
Reply With Quote