From bb7af9cb1be6dca6f26ee0eea721e28d22f9cbcc Mon Sep 17 00:00:00 2001 From: Titan Robotics Club Date: Sat, 1 Jun 2024 00:07:19 -0700 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fc011c3..1a71f79 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,10 @@ The next step is to determine the odometry scales (X and Y). This is applicable ### Creating Subsystems Once the drive base is fully functional, the next step is to create subsystems for the robot such as Elevator, Arm, Intake, Grabber etc. It is a good practice to create a subsystem as a separate Java class that encapsulates all hardware related to that subsystem. To create a subsystem, follow the steps below: -# Create a Java class in the subsystems folder (e.g. Intake.java). -# In Robot.java, add a public class variable in the Subsystem section: +* Create a Java class in the subsystems folder (e.g. Intake.java). +* In Robot.java, add a public class variable in the Subsystem section: 'public Intake intake;' -# In the constructor of Robot.java, under the Subsystem section, add code to create and initialize the subsystem: +* In the constructor of Robot.java, under the Subsystem section, add code to create and initialize the subsystem: 'if (RobotParams.Preferences.useIntake) { intake = new Intake(RobotParams.HWNAME_INTAKE, this); }'