![]() |
controller sensitivity for logitech gamepad
Hi
I"m on team 2813 and this is my second year programming with labview. My question is to how to change the sensitivity on the Logitech Gamepad controller, which we are using for the first time as a way to drive the robot. The driver on my team says it's too sensitive as the robot moves way to fast for moving the stick just a little bit. The Mentor on my team says to change the Deadband, which should fix the sensitivity problem. However my Mentor and I are unsure how or where to change it. I did notice the deadband global when I opened up the motor set speed vi. but was unsure how to change it. Any help would be appreciated Thanks in advance :D |
Re: controller sensitivity for logitech gamepad
Not being a programmer, I can't help directly, but I also did not want your post to go completely unanswered.
Do you understand what deadband is? That's important. As it is now, any input from the joystick produces a linearly-same output to the motor. That is, a 20% input produces a 20% output, 50% in=50% out. Basically, to address your sensitivity issue, you change this "mapping" between input and output. For example: Code:
In % Orig. Out% "New" out %Just some food for thought. |
Re: controller sensitivity for logitech gamepad
use a case structure that divides by 2 when <50 and doesnt do anything when its >50 so when joystick value is <50 power output is cut in half
and when >50 output is normal this is what we are using for our logitech controller it will be something like 10=5 25=12.5 50=25 75=75 100=100 you can adjust the parameters of the case by adjusting the separator hope this helps |
| All times are GMT -5. The time now is 11:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi