改急性

This commit is contained in:
Robofish 2025-10-06 22:01:27 +08:00
parent df420f0324
commit 85c698e7e6

View File

@ -297,7 +297,7 @@ int8_t Chassis_LQRControl(Chassis_t *c, const Chassis_CMD_t *c_cmd) {
current_state.d_theta = c->vmc_[0].leg.d_theta;
current_state.x = xhat;
current_state.d_x = x_dot_hat;
current_state.phi = -c->feedback.imu.euler.rol;
current_state.phi = c->feedback.imu.euler.rol;
current_state.d_phi = c->feedback.imu.gyro.y;
LQR_UpdateState(&c->lqr[0], &current_state);