Turning one side in code

So, we have our drivetrain all hooked up, but when writing the code we realized that the reason it works for our driver is because some turns we just use have of the bot turning to get to a specific angle. But when we turn in code, both sides turn opposite ways. This is a problem because sometimes it works only if one side turns. Any suggestions?

Sounds like in programming, you shouldn’t set a drivetrain and then set the motors used for the drivetrain as motion/regular motors. That way you can say spin ride side motors only to get the turn you are looking for. That said, you loose a little bit of coding functionality with no drivetrain set and could make coding everything else slightly harder. You get to weigh the benefits/risk.

2 Likes