Challenge- Create a DriveTrain!
As the challenge name suggests, you'll be creating your own DriveTrain! It is a tank drive subsystem for simplicity's sake, and shouldn't be too difficult to code.
Write a GetInstance() Method
Your code should:
Write a moveRobot() Method
moveRobot() MethodNow that you learned about how to set motors, at the bottom of the RomiDrivetrain class, make a helper method called moveRobot().
Conditions:
Once you have what you believe to be your answer, compare your code with the answer code below.
Last updated