update PID params
This commit is contained in:
parent
cbabfc3132
commit
53f0e38046
1 changed files with 3 additions and 3 deletions
|
@ -280,9 +280,9 @@ void data_init()
|
||||||
Pid_params.current_speed = 0.0;
|
Pid_params.current_speed = 0.0;
|
||||||
Pid_params.err = 0;
|
Pid_params.err = 0;
|
||||||
Pid_params.output = 0.0;
|
Pid_params.output = 0.0;
|
||||||
Pid_params.kp = 0.02;
|
Pid_params.kp = 0.002;
|
||||||
Pid_params.ki = 0.006;
|
Pid_params.ki = 0.004;
|
||||||
Pid_params.kd = 0.001;
|
Pid_params.kd = 0.0005;
|
||||||
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