Commander: cleanup COM_POSCTL_NAVL parameter

- move to px4::params
- use enum
This commit is contained in:
Julien Lecoeur
2019-08-21 07:56:20 -07:00
committed by Julian Oes
parent 907b6ccf46
commit 4c9288d993
5 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -649,8 +649,8 @@ PARAM_DEFINE_INT32(COM_ARM_MIS_REQ, 0);
* This sets the flight mode that will be used if navigation accuracy is no longer adequate for position control.
* Navigation accuracy checks can be disabled using the CBRK_VELPOSERR parameter, but doing so will remove protection for all flight modes.
*
* @value 0 Assume use of remote control after fallback. Switch to Altitude mode if a height estimate is available, else switch to MANUAL.
* @value 1 Assume no use of remote control after fallback. Switch to Land mode if a height estimate is available, else switch to TERMINATION.
* @value 0 Altitude/Manual. Assume use of remote control after fallback. Switch to Altitude mode if a height estimate is available, else switch to MANUAL.
* @value 1 Land/Terminate. Assume no use of remote control after fallback. Switch to Land mode if a height estimate is available, else switch to TERMINATION.
*
* @group Commander
*/