From ef9197d899a5ce87e948bf194d349da1ce9bc4bb Mon Sep 17 00:00:00 2001 From: Richie <2837357W@student.gla.ac.uk> Date: Mon, 20 Nov 2023 11:58:50 +0800 Subject: [PATCH] test++ --- frtos/motor/motor_init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frtos/motor/motor_init.h b/frtos/motor/motor_init.h index 9b0353b..46bd7b3 100644 --- a/frtos/motor/motor_init.h +++ b/frtos/motor/motor_init.h @@ -39,7 +39,7 @@ motor_init(car_struct_t *car_struct) car_struct->p_pid->use_pid = true; car_struct->p_pid->kp_value = 60.f; - car_struct->p_pid->ki_value = 6.67f; + car_struct->p_pid->ki_value = 0.f; car_struct->p_pid->kd_value = 135.f; // initialize the car_struct