User Tools

Site Tools


training:software:adding_a_subsystem_to_the_software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 Utterbacktraining: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/subsystems.   - 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/subsystems.
   - 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:software:sendable]] interface.
   - 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/constants file.   - 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/constants file.
-  - Modify DataLogging.java to display the subsystem data including commands using the [[training:software:sendable]] interface and add any other data that should be automatically display to the operators. +
-  - 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/java/frc/robot folder.+
training/software/adding_a_subsystem_to_the_software.txt · Last modified: by Jay Tarbotton

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki