mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 16:41:36 +08:00
Removed hardcoded onboard controller timeouts thresholds.
Added COM_ONB_LOSS_T and COM_ONB_REG_T parameters to specify thresholds that triggers "onboard link lost" and "onboard link regained". Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Beat Küng
parent
156317e546
commit
14415b29c1
@@ -118,7 +118,10 @@ private:
|
||||
(ParamInt<px4::params::COM_LOW_BAT_ACT>) _low_bat_action,
|
||||
(ParamFloat<px4::params::COM_DISARM_LAND>) _disarm_when_landed_timeout,
|
||||
|
||||
(ParamInt<px4::params::COM_OBS_AVOID>) _obs_avoid
|
||||
(ParamInt<px4::params::COM_OBS_AVOID>) _obs_avoid,
|
||||
|
||||
(ParamInt<px4::params::COM_ONB_LOSS_T>) _onboard_loss_timeout,
|
||||
(ParamInt<px4::params::COM_ONB_REG_T>) _onboard_regain_threshold
|
||||
)
|
||||
|
||||
const int64_t POSVEL_PROBATION_MIN = 1_s; /**< minimum probation duration (usec) */
|
||||
|
||||
Reference in New Issue
Block a user