bitcraze / crazyflie-firmware

The main firmware for the Crazyflie Nano Quadcopter, Crazyflie Bolt Quadcopter and Roadrunner Positioning Tag.
GNU General Public License v3.0
1.16k stars 1.05k forks source link

Toverumar/mutual excl idlethrust #1384

Closed ToveRumar closed 3 months ago

ToveRumar commented 3 months ago

Idle thrust can not be higher than 0 if autoarm is on (i.e the device is unarmed from start).

This is due to the ESCs for the brushless motors (only BL needs idle thrust) needs to receive a 0 signal before any other pwm signal to start. The ESC wakeup time is not something we keep track of in the Firmware and so to get these to features to work simultaneously would require some work. We do not see it as necessary to be able to do both as of now.

For this reason we want to limit the use of these together. We limit them both at run time and at build time.

ToveRumar commented 3 months ago

What do you think about also limiting this for anything that is a quad but is not a brushless? This is how it is now. Should we check so that it will only limit it if its a brushless?