mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 15:01:36 +08:00
Commander/FW rate controller: move trim params to fw rate c
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -41,48 +41,6 @@
|
|||||||
* @author Julian Oes <julian@px4.io>
|
* @author Julian Oes <julian@px4.io>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* Roll trim
|
|
||||||
*
|
|
||||||
* The trim value is the actuator control value the system needs
|
|
||||||
* for straight and level flight.
|
|
||||||
*
|
|
||||||
* @group Radio Calibration
|
|
||||||
* @min -0.5
|
|
||||||
* @max 0.5
|
|
||||||
* @decimal 2
|
|
||||||
* @increment 0.01
|
|
||||||
*/
|
|
||||||
PARAM_DEFINE_FLOAT(TRIM_ROLL, 0.0f);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Pitch trim
|
|
||||||
*
|
|
||||||
* The trim value is the actuator control value the system needs
|
|
||||||
* for straight and level flight.
|
|
||||||
*
|
|
||||||
* @group Radio Calibration
|
|
||||||
* @min -0.5
|
|
||||||
* @max 0.5
|
|
||||||
* @decimal 2
|
|
||||||
* @increment 0.01
|
|
||||||
*/
|
|
||||||
PARAM_DEFINE_FLOAT(TRIM_PITCH, 0.0f);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Yaw trim
|
|
||||||
*
|
|
||||||
* The trim value is the actuator control value the system needs
|
|
||||||
* for straight and level flight.
|
|
||||||
*
|
|
||||||
* @group Radio Calibration
|
|
||||||
* @min -0.5
|
|
||||||
* @max 0.5
|
|
||||||
* @decimal 2
|
|
||||||
* @increment 0.01
|
|
||||||
*/
|
|
||||||
PARAM_DEFINE_FLOAT(TRIM_YAW, 0.0f);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GCS connection loss time threshold
|
* GCS connection loss time threshold
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -454,3 +454,45 @@ PARAM_DEFINE_INT32(FW_SPOILERS_MAN, 0);
|
|||||||
* @group FW Rate Control
|
* @group FW Rate Control
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(FW_ACRO_YAW_EN, 0);
|
PARAM_DEFINE_INT32(FW_ACRO_YAW_EN, 0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Roll trim
|
||||||
|
*
|
||||||
|
* The trim value is the actuator control value the system needs
|
||||||
|
* for straight and level flight.
|
||||||
|
*
|
||||||
|
* @group FW Rate Control
|
||||||
|
* @min -0.5
|
||||||
|
* @max 0.5
|
||||||
|
* @decimal 2
|
||||||
|
* @increment 0.01
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_FLOAT(TRIM_ROLL, 0.0f);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pitch trim
|
||||||
|
*
|
||||||
|
* The trim value is the actuator control value the system needs
|
||||||
|
* for straight and level flight.
|
||||||
|
*
|
||||||
|
* @group FW Rate Control
|
||||||
|
* @min -0.5
|
||||||
|
* @max 0.5
|
||||||
|
* @decimal 2
|
||||||
|
* @increment 0.01
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_FLOAT(TRIM_PITCH, 0.0f);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Yaw trim
|
||||||
|
*
|
||||||
|
* The trim value is the actuator control value the system needs
|
||||||
|
* for straight and level flight.
|
||||||
|
*
|
||||||
|
* @group FW Rate Control
|
||||||
|
* @min -0.5
|
||||||
|
* @max 0.5
|
||||||
|
* @decimal 2
|
||||||
|
* @increment 0.01
|
||||||
|
*/
|
||||||
|
PARAM_DEFINE_FLOAT(TRIM_YAW, 0.0f);
|
||||||
|
|||||||
Reference in New Issue
Block a user