修改与轮电机固连杆,使用机体速度计算LQR增益

This commit is contained in:
kai
2024-04-28 16:14:10 +08:00
parent 41e13aee44
commit b7e4c80cb4
8 changed files with 58 additions and 46 deletions

View File

@@ -141,14 +141,13 @@ typedef struct
{
// 控制部分
float vx; // 前进方向速度
float rotate_w; // 旋转速度, 目前仅在复位模式下使用
float rotate_w; // 旋转速度, 目前仅在复位模式下使用
float delta_leglen; // 腿长
float offset_angle; // 底盘和归中位置的夹角
chassis_mode_e chassis_mode;
chassis_direction_e direction;
// UI部分
lid_mode_e lid_mode;
friction_mode_e friction_mode;
Target_State_e target_state;
loader_mode_e loader_mode;