mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
修改与轮电机固连杆,使用机体速度计算LQR增益
This commit is contained in:
@@ -32,13 +32,13 @@
|
||||
#define RB 3u
|
||||
|
||||
#define DRIVEN_CNT 2u
|
||||
#define RD 0u
|
||||
#define LD 1u
|
||||
#define LD 0u
|
||||
#define RD 1u
|
||||
|
||||
typedef struct
|
||||
{
|
||||
// joint
|
||||
float phi1_w, phi4_w, phi2_w, phi5_w; // phi2_w used for calc real wheel speed
|
||||
float phi1_w, phi4_w, phi2_w, phi3_w, phi5_w; // phi2_w or phi3_w used for calc real wheel speed
|
||||
float T_back, T_front;
|
||||
|
||||
// link angle, phi1-ph5, phi5 is pod angle
|
||||
|
||||
Reference in New Issue
Block a user