Quote:
Originally Posted by jblay
Also, what might help is limiting deceleration. I would make sure my motor controllers are set to coast and not brake, this way you don't decelerate as rapidly so that you have less tipping issues when stopping.
|
Absolutely. Deceleration is a form of acceleration, and I included it implicitly. The following line was intended to reduce deceleration, and putting the motor controllers in coast would prevent a sudden unintentional change.
Quote:
Originally Posted by GeeTwo
Code:
if (newSpeed < curSpeed - maxSpeedDelta)
newspeed = curSpeed - maxSpeedDelta;
|