去掉delay
This commit is contained in:
parent
a5dbc24f25
commit
acedef346b
@ -21,7 +21,6 @@ static int8_t Chassis_MotorEnable(Chassis_t *c) {
|
|||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
// MOTOR_LZ_Enable(&c->param->joint_motors[i]);
|
// MOTOR_LZ_Enable(&c->param->joint_motors[i]);
|
||||||
}
|
}
|
||||||
BSP_TIME_Delay_us(200);
|
|
||||||
for (int i = 0; i < 2; i++) {
|
for (int i = 0; i < 2; i++) {
|
||||||
MOTOR_LK_MotorOn(&c->param->wheel_motors[i]);
|
MOTOR_LK_MotorOn(&c->param->wheel_motors[i]);
|
||||||
}
|
}
|
||||||
@ -34,7 +33,6 @@ static int8_t Chassis_MotorRelax(Chassis_t *c) {
|
|||||||
for (int i = 0; i < 2; i++) {
|
for (int i = 0; i < 2; i++) {
|
||||||
// MOTOR_LK_Relax(&c->param->wheel_motors[i]);
|
// MOTOR_LK_Relax(&c->param->wheel_motors[i]);
|
||||||
}
|
}
|
||||||
BSP_TIME_Delay_us(200);
|
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
MOTOR_LZ_Relax(&c->param->joint_motors[i]);
|
MOTOR_LZ_Relax(&c->param->joint_motors[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user