Command Based Java programming for tank drive with two joysticks

I am new to java command-based robot programming, and I have looked for different videos about teaching how to do basic programming with our robot. However, I still do not know how to set up my tank drive for two joysticks, as each joystick control each side of my tank drive. I stopped at drivesubsystem and do not know what to do next. Please help!

This example implements a drivetrain with commands.

These lines of code would probably be what you’re looking for.

4 Likes

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