Arcade drive parameters switched

self-explanatory. When I try to pass in joystick values or motor speeds to the arcade drive, it turns when it should go straight, and it goes straight when it should turn. I must switch the parameters for it to work properly. This isn’t a big deal but it’s concerning. Has anyone else had this issue?

code:

You need to invert one of the sides of your drivetrain.
rightLeader.setInverted(true)

This is new this year, in previous years the DifferentialDrive class would automatically invert the right speed controller.

IF you think about it, going straight without inverting one side would make the wheels spin in opposite directions, then in order to go straight you would have to ‘rotate’ so that the wheels would spin the same direction.

2 Likes
1 Like

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