mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 04:30:36 +08:00
Commander: Changed COM_ONB_BOOT_T parameter to COM_OA_BOOT_T.
Since the time out is only Obstacle-Avoidance related, the new naming is more self explanatory. Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Julian Oes
parent
d937a5725b
commit
e14e5b9d73
@@ -3967,7 +3967,7 @@ void Commander::data_link_check(bool &status_changed)
|
||||
|
||||
//if avoidance never started
|
||||
if (_datalink_last_heartbeat_avoidance_system == 0
|
||||
&& hrt_elapsed_time(&_datalink_last_heartbeat_avoidance_system) > _onboard_boot_timeout.get() * 1_s) {
|
||||
&& hrt_elapsed_time(&_datalink_last_heartbeat_avoidance_system) > _oa_boot_timeout.get() * 1_s) {
|
||||
if (!print_msg_once) {
|
||||
mavlink_log_critical(&mavlink_log_pub, "Avoidance system not available!");
|
||||
print_msg_once = true;
|
||||
|
||||
Reference in New Issue
Block a user