Skip to content

Commit

Permalink
Changed motor id order
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrywrx committed Jul 5, 2024
1 parent 836e852 commit 411b5cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/minipc/ChassisTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ void RM_RTOS_Init(void) {

can = new bsp::CAN(&hcan1);
fl_motor = new control::Motor3508(can, 0x201);
fr_motor = new control::Motor3508(can, 0x204);
bl_motor = new control::Motor3508(can, 0x202);
br_motor = new control::Motor3508(can, 0x203);
fr_motor = new control::Motor3508(can, 0x202);
bl_motor = new control::Motor3508(can, 0x203);
br_motor = new control::Motor3508(can, 0x204);

control::MotorCANBase* motors[control::FourWheel::motor_num];
motors[control::FourWheel::front_left] = fl_motor;
Expand Down

0 comments on commit 411b5cd

Please sign in to comment.