tweak emission PID parameters

pull/1/head
Sebastien Bourdeauducq 2017-05-17 00:07:43 +08:00
parent 5e13d30cc1
commit 5f90960ce1
1 changed files with 5 additions and 5 deletions

View File

@ -4,13 +4,13 @@ use board;
use pid; use pid;
const FBI_PID_PARAMETERS: pid::Parameters = pid::Parameters { const FBI_PID_PARAMETERS: pid::Parameters = pid::Parameters {
kp: 180.0, kp: 310.0,
ki: 90.0, ki: 50.0,
kd: 0.0, kd: 10.0,
output_min: 0.5, output_min: 0.5,
output_max: 3.0, output_max: 3.0,
integral_min: -0.02, integral_min: -0.05,
integral_max: 0.02 integral_max: 0.05
}; };
const FV_PID_PARAMETERS: pid::Parameters = pid::Parameters { const FV_PID_PARAMETERS: pid::Parameters = pid::Parameters {