You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crazyflies crash if the dt is increased from 0.0005, even though in other simulations with the Python bindings and the same physics backend we achieve 0.01s.
The text was updated successfully, but these errors were encountered:
This might be a control issue in combination with motor saturation. The following investigations have been done:
Tried different physics backends (same outcome)
Tried fixing the firmware ticks issue directly in the firmware (similar outcome, although behavior does change in this case)
Tried the Lee controller, for which we had successful simulations at higher dt's. This works reasonably well. Here we tried two versions: one that uses the polynomials to convert force/torque -> PWM -> RPM -> Force, and one that uses the force directly. Both worked fine, although avoiding the multiple conversions had a lower tracking error.
Moving forward, the goal is to get the Lee controller in the official firmware, and use it as default with a higher dt in simulation.
I have also been finding some weird stability issues testing with the Mellinger controller even with dt small. I noticed that the controller's roll/pitch moment commands were saturating a lot, even in benign conditions. I traced it to the kd_omega_rp term in the Mellinger controller. Setting kd_omega_rp to zero improves stability a lot for me. Curious if it also helps your issue?
Crazyflies crash if the dt is increased from 0.0005, even though in other simulations with the Python bindings and the same physics backend we achieve 0.01s.
The text was updated successfully, but these errors were encountered: