[Bug] Bad trajectory calculation for some accelerations #664
Labels
bug
Something isn't working
software: pybricks-micropython
Issues with Pybricks MicroPython firmware (or EV3 runtime)
topic: motors
Issues involving motors
Describe the bug
Under some conditions, the reference trajectory calculation fails. Instead of going to the target gradually, it jumps there right away.
On the bright side, the controller is so stable now that it doesn't even blink and just goes there without complaining (like
track_target
), but clearly not at the commanded speed and acceleration.Since this is only reproducable on the large motor while the trajectory code is motor independent, this is indicative that it happens for certain acceleration parameters, which do differ between motors.
To reproduce
On today's master build. This likely also affects the 3.2.0 beta1 release.
Attach a large angular motor to port A. Then run:
The text was updated successfully, but these errors were encountered: