mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 11:37:45 +08:00
修改与轮电机固连杆,使用机体速度计算LQR增益
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#define CURRENT_SMOOTH_COEF 0.9f
|
||||
#define SPEED_BUFFER_SIZE 5
|
||||
#define HT_SPEED_BIAS -0.0109901428f // 电机速度偏差,单位rad/s
|
||||
#define TORQUE_CONST_HT 3.5 // 扭矩常数,单位N.m/A
|
||||
#define TORQUE_COEF_HT 3.5 // 扭矩系数,单位N.m/A
|
||||
|
||||
#define P_MIN -95.5f // Radians
|
||||
#define P_MAX 95.5f
|
||||
|
||||
Reference in New Issue
Block a user