Skip to content

Commit c2ee821

Browse files
authored
Rearrange thruster pin definitions
Signed-off-by: Yau Chau <[email protected]>
1 parent 89d6e25 commit c2ee821

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pio_workspace/src/power_ros1_main.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ SETUP FOR ROS COMMUNICATION WITH THE POWER BOARD
2424
#include <std_msgs/Float32.h>
2525

2626
// defines thruster pins
27-
#define BACK_L_PIN 2
28-
#define HEAVE_BACK_L_PIN 3
29-
#define HEAVE_FRONT_L_PIN 4
30-
#define FRONT_L_PIN 5
31-
#define FRONT_R_PIN 6
32-
#define HEAVE_FRONT_R_PIN 7
33-
#define HEAVE_BACK_R_PIN 8
34-
#define BACK_R_PIN 9
27+
#define BACK_L_PIN 9
28+
#define HEAVE_BACK_L_PIN 8
29+
#define HEAVE_FRONT_L_PIN 7
30+
#define FRONT_L_PIN 6
31+
#define FRONT_R_PIN 5
32+
#define HEAVE_FRONT_R_PIN 4
33+
#define HEAVE_BACK_R_PIN 3
34+
#define BACK_R_PIN 2
3535

3636
#define LED_PIN 13
3737

0 commit comments

Comments
 (0)