Skip to content

Commit 5398428

Browse files
Thomas StastnyJaeyoung-Lim
authored andcommitted
update default gains for npfg (now that accel command bug was fixed)
1 parent 8641cab commit 5398428

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ PARAM_DEFINE_INT32(FW_USE_NPFG, 0);
107107
* @increment 0.5
108108
* @group FW NPFG Control
109109
*/
110-
PARAM_DEFINE_FLOAT(NPFG_PERIOD, 30.0f);
110+
PARAM_DEFINE_FLOAT(NPFG_PERIOD, 20.0f);
111111

112112
/**
113113
* NPFG damping ratio
@@ -117,10 +117,10 @@ PARAM_DEFINE_FLOAT(NPFG_PERIOD, 30.0f);
117117
* @min 0.10
118118
* @max 1.00
119119
* @decimal 2
120-
* @increment 0.05
120+
* @increment 0.01
121121
* @group FW NPFG Control
122122
*/
123-
PARAM_DEFINE_FLOAT(NPFG_DAMPING, 0.25f);
123+
PARAM_DEFINE_FLOAT(NPFG_DAMPING, 0.7f);
124124

125125
/**
126126
* Enable automatic lower bound on the NPFG period

0 commit comments

Comments
 (0)