Inverted C++ turning

our robot code is C++ however it could go forward and backward perfectly fine but when turning left or right it is inverted, we tried switching motor ports, but we believe there might be a problem in the code… any ideas to fix it?

1 Like

Well, we kind of need to see your code in order to tell you what is wrong with it.

6 Likes

First, try switching the motor ports (all of them).

If it’s a further issue with the code, you need to show us the code.

If you are using the default Drivetrain, it may be as easy as flipping the robot direction.

3 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.