mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
* stop motors after 90 degrees of rotation and with max rate * handle no accelerometer data * improve check for acc, although seems to be OK without it * disable all attenuation if rate is set to zero * refactoring thanks Karate * use sensors.h * remove unnecessary arming check * exit crashFlip immediately switch is reverted if throttle is zero * add Crashflip Rate to OSD * Revert unnecessary changes in crashflip core.c code and clarify comments about crashflip switch * update / minimise comments, thanks Karate * ensure all names say `crashflip` consistently * Undo quick re-arm because motrors were not reversed * fix issue with reversed motors, we must disarm * ignore yaw rotation and set gyro limit to 1900 deg/s * default attenuation to off (crashflip_rate = 0) * refactoring, increase rate limit to allow stronger inhibition * enable in race_pro mode * don't attenuate on attitude until a significant change occurs * no attenuation for small changes * Updates from review by PL * remove whitespace * refactor motorOutput, update comments, renaming variables thanks PL * changes from review PL * only permit fast re-arm if crashflip rate set and crashflip was successful * properly exit turtle mode * add crashFlipSuccessful to unit test extern c * small updates from review * improved crashflip switch handling * remove unnecessary motors normal check |
||
---|---|---|
.. | ||
timer_definition_unittest.include | ||
alignsensor_unittest.cc | ||
althold_unittest.cc | ||
altitude_hold_unittest.cc.txt | ||
arming_prevention_unittest.cc | ||
atomic_unittest.cc | ||
atomic_unittest_c.c | ||
baro_bmp085_unittest.cc | ||
baro_bmp280_unittest.cc | ||
baro_bmp388_unittest.cc | ||
baro_ms5611_unittest.cc | ||
battery_unittest.cc.txt | ||
blackbox_encoding_unittest.cc | ||
blackbox_unittest.cc | ||
cli_unittest.cc | ||
cms_unittest.cc | ||
common_filter_unittest.cc | ||
dma_reqmap_mcu.h | ||
encoding_unittest.cc | ||
flight_failsafe_unittest.cc | ||
flight_imu_unittest.cc | ||
flight_mixer_unittest.cc.txt | ||
gps_conversion_unittest.cc | ||
huffman_unittest.cc | ||
io_serial_unittest.cc | ||
ledstrip_unittest.cc | ||
link_quality_unittest.cc | ||
maths_unittest.cc | ||
motor_output_unittest.cc | ||
osd_unittest.cc | ||
pg.ld | ||
pg_unittest.cc | ||
pid_unittest.cc | ||
platform.h | ||
pwl_unittest.cc | ||
rc_controls_unittest.cc | ||
rcdevice_unittest.cc | ||
rx_crsf_unittest.cc | ||
rx_ibus_unittest.cc | ||
rx_ranges_unittest.cc | ||
rx_rx_unittest.cc | ||
rx_spi_expresslrs_telemetry_unittest.cc | ||
rx_spi_expresslrs_unittest.cc | ||
rx_spi_spektrum_unittest.cc | ||
rx_sumd_unittest.cc | ||
scheduler_stubs.c | ||
scheduler_stubs.h | ||
scheduler_unittest.cc | ||
sensor_gyro_unittest.cc | ||
target.h | ||
telemetry_crsf_msp_unittest.cc | ||
telemetry_crsf_unittest.cc | ||
telemetry_hott_unittest.cc | ||
telemetry_ibus_unittest.cc | ||
timer_def.h | ||
transponder_ir_unittest.cc | ||
unittest_displayport.h | ||
unittest_macros.h | ||
vtx_msp_unittest.cc | ||
vtx_unittest.cc | ||
ws2811_unittest.cc |