|
Re: Drive Motor With Throttle on Logitech Attack 3
Also, you may want to handle throttle == 0 as a special case. The throttle is 0 at the MIDDLE of its range. So for us, that originally translated to 50% power. Since the robot assumes the joystick values are 0 until messed with, our motor would fire up at half speed any time the robot was reset and enabled, til I added code to handle this.
|