RomiDrivetrain
Drivetrains are a type of Subsystem that control a robot's movement. In other words they move the robot.
For this example, the Drivetrain should have two motor variables— one for each of the Romi's motors. (we'll go into more detail
Accessing the Drivetrain.
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 VSC 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.
Last updated