View Single Post
  #4   Spotlight this post!  
Unread 16-02-2012, 11:43
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 105
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: Damping the joystick at 1

Just add this VI to your Teleop loop. All you have to do is wire your joystick input (which must be between -1 and 1) to the "joystick input" side, wire the output to your motor control VI, and pick a constant for scaling. Start with 0.1 and tune it in to what you think is best.

Once you have that, repeat for the other axis and you're done!
Attached Files
File Type: vi Joystick Scaling.vi (17.1 KB, 39 views)
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
Reply With Quote