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

Tumble check: platform-specific settings #1408

Closed matejkarasek closed 2 weeks ago

matejkarasek commented 2 weeks ago

Tumble-check settings (defining how sensitive the check is) were hard coded in supervisor.c. This PR allows to make these settings platform-specific and override the default values in platform_defualts_[platform-name].h of each platform.

Further, this PR introduces a persistent parameter, with which the tumble check can be disabled.