Quote:
Originally Posted by z_beeblebrox
Try calibrating the joysticks or adding some joystick deadband. Sometimes, even when the joysticks appear to be centred, they may not be giving an output of 0, which causes the motors to slowly turn. We had this problem in Vex, after linearizing the motor speed controller output, and adding some deadband really helped.
|
I added a deadband from -10 to 10 on both the X and Y axis and now it is perfect! Now I am trying to figure out configurable speeds with motors via buttons. Ex: Pressing button 1 sets a boolean value to true or false which dictates a variable to be set to 1 or 10 which is used to divide the motor power. However, switching the boolean values is not working. Suggestions?