| 4 | |
| 5 | Start with a Command template program and: |
| 6 | 1. In the subsystems folder, delete the example subsystem and add the attached files: |
| 7 | * ServoSubsystem.java |
| 8 | |
| 9 | 2. In the commands folder, delete the example command and add the attached files: |
| 10 | * OpenCommand.java |
| 11 | * CloseCommand.java |
| 12 | |
| 13 | 3. Replace the files with the attached versions: |
| 14 | * RobotContainer.java |
| 15 | * Constants.java |
| 16 | |
| 17 | Notice that Main.java and Robot.java are unchanged; their behavior is generic; you define the robot behavior through adding subsystems, commands, and binding controls to the commands. |