mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 05:34:07 +08:00
batteryCheck: fix comment typo hyster{i,e}sis
This commit is contained in:
parent
2e66bbdfb8
commit
72ed160aa9
@ -301,7 +301,7 @@ void BatteryChecks::rtlEstimateCheck(const Context &context, Report &reporter, f
|
||||
rtl_time_estimate_s rtl_time_estimate;
|
||||
|
||||
// Compare estimate of RTL time to estimate of remaining flight time
|
||||
// add hysterisis: if already in the condition, only get out of it if the remaining flight time is significantly higher again
|
||||
// add hysteresis: if already in the condition, only get out of it if the remaining flight time is significantly higher again
|
||||
const float hysteresis_factor = reporter.failsafeFlags().battery_low_remaining_time ? 1.1f : 1.0f;
|
||||
|
||||
reporter.failsafeFlags().battery_low_remaining_time = _rtl_time_estimate_sub.copy(&rtl_time_estimate)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user