Skip to content

Commit 6f972bb

Browse files
chore: unify MC_RATE* param metadata (#25133)
Signed-off-by: Beniamino Pozzan <[email protected]>
1 parent 6503202 commit 6f972bb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/modules/mc_rate_control/mc_rate_control_params.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ PARAM_DEFINE_FLOAT(MC_PITCHRATE_K, 1.0f);
205205
*
206206
* @min 0.0
207207
* @max 0.6
208-
* @decimal 2
208+
* @decimal 3
209209
* @increment 0.01
210210
* @group Multicopter Rate Control
211211
*/
@@ -217,7 +217,7 @@ PARAM_DEFINE_FLOAT(MC_YAWRATE_P, 0.2f);
217217
* Yaw rate integral gain. Can be set to compensate static thrust difference or gravity center offset.
218218
*
219219
* @min 0.0
220-
* @decimal 2
220+
* @decimal 3
221221
* @increment 0.01
222222
* @group Multicopter Rate Control
223223
*/
@@ -241,8 +241,8 @@ PARAM_DEFINE_FLOAT(MC_YR_INT_LIM, 0.30f);
241241
* Yaw rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.
242242
*
243243
* @min 0.0
244-
* @decimal 2
245-
* @increment 0.01
244+
* @decimal 4
245+
* @increment 0.0005
246246
* @group Multicopter Rate Control
247247
*/
248248
PARAM_DEFINE_FLOAT(MC_YAWRATE_D, 0.0f);
@@ -254,7 +254,6 @@ PARAM_DEFINE_FLOAT(MC_YAWRATE_D, 0.0f);
254254
*
255255
* @min 0.0
256256
* @decimal 4
257-
* @increment 0.01
258257
* @group Multicopter Rate Control
259258
*/
260259
PARAM_DEFINE_FLOAT(MC_YAWRATE_FF, 0.0f);
@@ -271,7 +270,7 @@ PARAM_DEFINE_FLOAT(MC_YAWRATE_FF, 0.0f);
271270
* Set MC_YAWRATE_P=1 to implement a PID in the ideal form.
272271
* Set MC_YAWRATE_K=1 to implement a PID in the parallel form.
273272
*
274-
* @min 0.0
273+
* @min 0.01
275274
* @max 5.0
276275
* @decimal 4
277276
* @increment 0.0005

0 commit comments

Comments
 (0)