Skip to content

Commit

Permalink
Rover: fix OmniX motor order
Browse files Browse the repository at this point in the history
  • Loading branch information
Ammarf authored and rmackay9 committed Aug 30, 2018
1 parent fefde53 commit 0f10d23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions APMrover2/AP_MotorsUGV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ void AP_MotorsUGV::setup_motors()

case FRAME_TYPE_OMNIX:
_motors_num = 4,
add_motor(0, -1.0f, 1.0f, 1.0f);
add_motor(1, -1.0f, -1.0f, -1.0f);
add_motor(2, 1.0f, -1.0f, 1.0f);
add_motor(3, 1.0f, 1.0f, -1.0f);
add_motor(0, 1.0f, -1.0f, -1.0f);
add_motor(1, 1.0f, -1.0f, 1.0f);
add_motor(2, 1.0f, 1.0f, -1.0f);
add_motor(3, 1.0f, 1.0f, 1.0f);
break;

case FRAME_TYPE_OMNIPLUS:
Expand Down

0 comments on commit 0f10d23

Please sign in to comment.