mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-11 23:31:36 +08:00
Commander: changed logic for checking OA at boot time.
With this commit the use cases will be: Success case: - booting, no messages about OA, pre-arm check would fail if you try to arm and OA is not yet running Fail case: - if OA takes longer than timeout time defined in COM_ONB_BOOT_T, then an error message is triggered. Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Julian Oes
parent
3b5ef82193
commit
9966a3d2f8
@@ -799,10 +799,8 @@ PARAM_DEFINE_INT32(NAV_RCL_ACT, 2);
|
||||
|
||||
/**
|
||||
* Flag to enable obstacle avoidance
|
||||
* Temporary Parameter to enable interface testing
|
||||
*
|
||||
* @boolean
|
||||
* @reboot_required true
|
||||
* @group Mission
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_OBS_AVOID, 0);
|
||||
@@ -811,12 +809,11 @@ PARAM_DEFINE_INT32(COM_OBS_AVOID, 0);
|
||||
* Set onboard controller bootup timeout
|
||||
*
|
||||
* This parameter defines the bootup timeout.
|
||||
* After the timeout a mavlink message to warn the user that the system
|
||||
* is still booting up is triggered.
|
||||
*
|
||||
* After the timeout, a mavlink message that tells the user that the avoidance system
|
||||
* is not available is sent.
|
||||
* @group Commander
|
||||
* @unit s
|
||||
* @min 0
|
||||
* @max 120
|
||||
* @max 200
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_ONB_BOOT_T, 15);
|
||||
PARAM_DEFINE_INT32(COM_ONB_BOOT_T, 100);
|
||||
Reference in New Issue
Block a user