mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
Failure Detector - Rename parameters and change group
This commit is contained in:
@@ -72,8 +72,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
DEFINE_PARAMETERS(
|
DEFINE_PARAMETERS(
|
||||||
(ParamInt<px4::params::COM_FAIL_P>) _fail_trig_pitch,
|
(ParamInt<px4::params::FD_FAIL_P>) _fail_trig_pitch,
|
||||||
(ParamInt<px4::params::COM_FAIL_R>) _fail_trig_roll
|
(ParamInt<px4::params::FD_FAIL_R>) _fail_trig_roll
|
||||||
)
|
)
|
||||||
|
|
||||||
// Subscriptions
|
// Subscriptions
|
||||||
|
|||||||
@@ -50,9 +50,9 @@
|
|||||||
* @min 0
|
* @min 0
|
||||||
* @max 180
|
* @max 180
|
||||||
* @unit degrees
|
* @unit degrees
|
||||||
* @group Commander
|
* @group FailureDetector
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(COM_FAIL_R, 60);
|
PARAM_DEFINE_INT32(FD_FAIL_R, 60);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FailureDetector Max Pitch
|
* FailureDetector Max Pitch
|
||||||
@@ -62,6 +62,6 @@ PARAM_DEFINE_INT32(COM_FAIL_R, 60);
|
|||||||
* @min 0
|
* @min 0
|
||||||
* @max 180
|
* @max 180
|
||||||
* @unit degrees
|
* @unit degrees
|
||||||
* @group Commander
|
* @group FailureDetector
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(COM_FAIL_P, 60);
|
PARAM_DEFINE_INT32(FD_FAIL_P, 60);
|
||||||
|
|||||||
Reference in New Issue
Block a user