mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-23 19:25:09 +08:00
修正电机扭矩常数
This commit is contained in:
@@ -385,12 +385,12 @@ static void LegControl()
|
||||
/* 设定运动模态的输出 */
|
||||
static void WattLimitSet()
|
||||
{
|
||||
HTMotorSetRef(lf, 0.285f * -l_side.T_front); // 根据扭矩常数计算得到的系数
|
||||
HTMotorSetRef(lb, 0.285f * -l_side.T_back);
|
||||
HTMotorSetRef(rf, 0.285f * r_side.T_front);
|
||||
HTMotorSetRef(rb, 0.285f * r_side.T_back);
|
||||
LKMotorSetRef(l_driven, 274.348 * l_side.T_wheel);
|
||||
LKMotorSetRef(r_driven, 274.348 * -r_side.T_wheel);
|
||||
HTMotorSetRef(lf, 0.2857 * -l_side.T_front); // 根据扭矩常数计算得到的系数
|
||||
HTMotorSetRef(lb, 0.2857 * -l_side.T_back);
|
||||
HTMotorSetRef(rf, 0.2857 * r_side.T_front);
|
||||
HTMotorSetRef(rb, 0.2857 * r_side.T_back);
|
||||
LKMotorSetRef(l_driven, 195.3125 * l_side.T_wheel);
|
||||
LKMotorSetRef(r_driven, 195.3125 * -r_side.T_wheel);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user