Changes between Version 2 and Version 3 of ControlSystems/SoftwareTeam/Training/GettingStarted/ServoMotor/Example2


Ignore:
Timestamp:
Jan 28, 2020, 11:50:21 PM (5 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/ServoMotor/Example2

    v2 v3  
    55Start with a Command template program and:
    661. In the subsystems folder, delete the example subsystem and add the attached files:
    7    * ServoSubsystem.java
     7   * [attachment:ServoSubsystem.java ServoSubsystem.java]
    88
    992. In the commands folder, delete the example command and add the attached files:
    10    * OpenCommand.java
    11    * CloseCommand.java
     10   * [attachment:OpenCommand.java OpenCommand.java]
     11   * [attachment:CloseCommand.java CloseCommand.java ]
    1212
    13133. Replace the files with the attached versions:
    14    * RobotContainer.java
    15    * Constants.java
     14   * [attachment:RobotContainer.java RobotContainer.java]
     15   * [attachment:Constants.java Constants.java]
    1616
    1717Notice 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.