Skip to content
Snippets Groups Projects
Commit 620ccbb4 authored by odri's avatar odri
Browse files

Tweak joystick parameters

parent a4e73475
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ class Joystick {
// How much the gamepad velocity and position is filtered to avoid sharp changes
double gp_alpha_vel = 0.0; // Low pass filter coefficient for v_ref_ (if gamepad-controlled)
double gp_alpha_pos = 0.0; // Low pass filter coefficient for p_ref_
double gp_alpha_vel_heavy_filter = 0.001; // Low pass filter coefficient for v_ref_heavy_filter_
double gp_alpha_vel_heavy_filter = 0.002; // Low pass filter coefficient for v_ref_heavy_filter_
// Maximum velocity values
double vXScale = 0.3; // Lateral
......
......@@ -33,7 +33,7 @@ robot:
# Parameters of Joystick
gp_alpha_vel: 0.003 # Coefficient of the low pass filter applied to gamepad velocity
gp_alpha_pos: 0.002 # Coefficient of the low pass filter applied to gamepad position
gp_alpha_pos: 0.006 # Coefficient of the low pass filter applied to gamepad position
# Parameters of Estimator
fc_v_esti: 50.0 # Cut frequency for the low pass that filters the estimated base velocity
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment