training:software:adding_a_subsystem_to_the_software
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| training:software:adding_a_subsystem_to_the_software [2024/03/10 13:47] – ↷ Links adapted because of a move operation Brian Utterback | training:software:adding_a_subsystem_to_the_software [2026/03/07 07:44] (current) – Jay Tarbotton | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| - Add the subsystem class including setup and control of associated hardware, logging of subsystem data and public methods to control and monitor the subsystem. The file goes in robot/ | - Add the subsystem class including setup and control of associated hardware, logging of subsystem data and public methods to control and monitor the subsystem. The file goes in robot/ | ||
| - Add subsystem specific constants including preferences to the constants.java file in the robot folder. | - Add subsystem specific constants including preferences to the constants.java file in the robot folder. | ||
| - | - Edit the RobotContainer.java file to instantiate the new subsystem, connect operator controller inputs to subsystem commands. We also need a method for other classes to get a reference to the subsystem - this is primarily for data logging and simulation. | + | - Edit the RobotContainer.java file to instantiate the new subsystem, connect operator controller inputs to subsystem commands. We also need a method for other classes to get a reference to the subsystem - this is primarily for data logging and simulation. Add publishing of the subsystem data including commands via the [[training: |
| - Add a subsystem model class to the sim folder for simulation and modify the top level RobotModel to run the new subsystem model. Add any new simulation constants to the sim/ | - Add a subsystem model class to the sim folder for simulation and modify the top level RobotModel to run the new subsystem model. Add any new simulation constants to the sim/ | ||
| - | - Modify DataLogging.java to display the subsystem data including commands using the [[training: | + | |
| - | - Modify RobotPreferences.java to add the subsystem to the resetPreferences() function if the subsystem has preferences. | + | |
| - | - Add unit tests for the subsystem to the test/ | + | |
training/software/adding_a_subsystem_to_the_software.txt · Last modified: by Jay Tarbotton
