Adapted PID params
This commit is contained in:
parent
53f0e38046
commit
c9ae41802b
1 changed files with 2 additions and 2 deletions
|
@ -281,8 +281,8 @@ void data_init()
|
||||||
Pid_params.err = 0;
|
Pid_params.err = 0;
|
||||||
Pid_params.output = 0.0;
|
Pid_params.output = 0.0;
|
||||||
Pid_params.kp = 0.002;
|
Pid_params.kp = 0.002;
|
||||||
Pid_params.ki = 0.004;
|
Pid_params.ki = 0.0008;
|
||||||
Pid_params.kd = 0.0005;
|
Pid_params.kd = 0.001;
|
||||||
Pid_params.max_speed = MAX_SPEED;
|
Pid_params.max_speed = MAX_SPEED;
|
||||||
Pid_params.min_speed = MIN_SPEED;
|
Pid_params.min_speed = MIN_SPEED;
|
||||||
#ifdef MACHINE_RESTART
|
#ifdef MACHINE_RESTART
|
||||||
|
|
Loading…
Add table
Reference in a new issue