Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Port 1.14] FW/VTOL: open up a couple of param constraints #21671

Merged
merged 7 commits into from
Jun 2, 2023
12 changes: 6 additions & 6 deletions src/modules/commander/commander_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
* copying them using the GCS.
*
* @group Radio Calibration
* @min -0.25
* @max 0.25
* @min -0.5
* @max 0.5
* @decimal 2
* @increment 0.01
*/
Expand All @@ -66,8 +66,8 @@ PARAM_DEFINE_FLOAT(TRIM_ROLL, 0.0f);
* copying them using the GCS.
*
* @group Radio Calibration
* @min -0.25
* @max 0.25
* @min -0.5
* @max 0.5
* @decimal 2
* @increment 0.01
*/
Expand All @@ -82,8 +82,8 @@ PARAM_DEFINE_FLOAT(TRIM_PITCH, 0.0f);
* copying them using the GCS.
*
* @group Radio Calibration
* @min -0.25
* @max 0.25
* @min -0.5
* @max 0.5
* @decimal 2
* @increment 0.01
*/
Expand Down
20 changes: 7 additions & 13 deletions src/modules/fw_att_control/fw_att_control_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
* @author Thomas Gubler <thomas@px4.io>
*/

/*
* Controller parameters, accessible via MAVLink
*
*/

/**
* Attitude Roll Time Constant
*
Expand Down Expand Up @@ -86,7 +81,7 @@ PARAM_DEFINE_FLOAT(FW_P_TC, 0.4f);
*
* @unit deg/s
* @min 0.0
* @max 90.0
* @max 180
* @decimal 1
* @increment 0.5
* @group FW Attitude Control
Expand All @@ -98,7 +93,7 @@ PARAM_DEFINE_FLOAT(FW_P_RMAX_POS, 60.0f);
*
* @unit deg/s
* @min 0.0
* @max 90.0
* @max 180
* @decimal 1
* @increment 0.5
* @group FW Attitude Control
Expand All @@ -110,7 +105,7 @@ PARAM_DEFINE_FLOAT(FW_P_RMAX_NEG, 60.0f);
*
* @unit deg/s
* @min 0.0
* @max 90.0
* @max 180
* @decimal 1
* @increment 0.5
* @group FW Attitude Control
Expand All @@ -122,7 +117,7 @@ PARAM_DEFINE_FLOAT(FW_R_RMAX, 70.0f);
*
* @unit deg/s
* @min 0.0
* @max 90.0
* @max 180
* @decimal 1
* @increment 0.5
* @group FW Attitude Control
Expand All @@ -140,7 +135,6 @@ PARAM_DEFINE_FLOAT(FW_Y_RMAX, 50.0f);
*/
PARAM_DEFINE_INT32(FW_W_EN, 0);


/**
* Wheel steering rate proportional gain
*
Expand All @@ -149,7 +143,7 @@ PARAM_DEFINE_INT32(FW_W_EN, 0);
*
* @unit %/rad/s
* @min 0.0
* @max 1.0
* @max 10
* @decimal 3
* @increment 0.005
* @group FW Attitude Control
Expand All @@ -164,7 +158,7 @@ PARAM_DEFINE_FLOAT(FW_WR_P, 0.5f);
*
* @unit %/rad
* @min 0.0
* @max 0.5
* @max 10
* @decimal 3
* @increment 0.005
* @group FW Attitude Control
Expand Down Expand Up @@ -207,7 +201,7 @@ PARAM_DEFINE_FLOAT(FW_W_RMAX, 30.0f);
*
* @unit %/rad/s
* @min 0.0
* @max 1.0
* @max 10
* @decimal 2
* @increment 0.05
* @group FW Attitude Control
Expand Down
2 changes: 1 addition & 1 deletion src/modules/fw_pos_control/fw_path_navigation_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ PARAM_DEFINE_FLOAT(FW_T_THR_DAMP, 0.1f);
* @increment 0.05
* @group FW TECS
*/
PARAM_DEFINE_FLOAT(FW_T_I_GAIN_THR, 0.1f);
PARAM_DEFINE_FLOAT(FW_T_I_GAIN_THR, 0.05f);

/**
* Integrator gain pitch
Expand Down
Loading