RomiDrivetrain
Last updated
Last updated
Drivetrains are a type of Subsystem that control a robot's movement. In other words they move the robot.
Your Drivetrain should have two motor variables— one for each of the Romi's motors.
In our project, the Drivetrain is the class called the RomiDrivetrain. To access it just click on the RomiDrivetrain.java file in the file sidebar.
After clicking on the file, a new window will pop up in VS code showing the Java class in the file. In the class, there are multiple important things to look at such as the class variables and methods. These variables and methods will be the topics of the following pages.