mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Failure Detector - Rename parameters and change group
This commit is contained in:
parent
93ba11c218
commit
0001031e59
@ -72,8 +72,8 @@ public:
|
||||
private:
|
||||
|
||||
DEFINE_PARAMETERS(
|
||||
(ParamInt<px4::params::COM_FAIL_P>) _fail_trig_pitch,
|
||||
(ParamInt<px4::params::COM_FAIL_R>) _fail_trig_roll
|
||||
(ParamInt<px4::params::FD_FAIL_P>) _fail_trig_pitch,
|
||||
(ParamInt<px4::params::FD_FAIL_R>) _fail_trig_roll
|
||||
)
|
||||
|
||||
// Subscriptions
|
||||
|
||||
@ -50,9 +50,9 @@
|
||||
* @min 0
|
||||
* @max 180
|
||||
* @unit degrees
|
||||
* @group Commander
|
||||
* @group FailureDetector
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_FAIL_R, 60);
|
||||
PARAM_DEFINE_INT32(FD_FAIL_R, 60);
|
||||
|
||||
/**
|
||||
* FailureDetector Max Pitch
|
||||
@ -62,6 +62,6 @@ PARAM_DEFINE_INT32(COM_FAIL_R, 60);
|
||||
* @min 0
|
||||
* @max 180
|
||||
* @unit degrees
|
||||
* @group Commander
|
||||
* @group FailureDetector
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_FAIL_P, 60);
|
||||
PARAM_DEFINE_INT32(FD_FAIL_P, 60);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user