Team5830 / 2022-Rapid-React

Team 5830's robot code for FIRST Rapid React (2022)
MIT License
0 stars 0 forks source link

Report Encoder values to SmartDashboard #5

Closed asteele11 closed 2 years ago

asteele11 commented 2 years ago

Description

Add methods in the DriveTrain subsystem to read the encoder values and display them with the SmartDashboard.

Example code

Similar code is at the bottom of the Infinite-Recharge DriveTrain: https://github.com/Team5830/Infinite-Recharge-Robot/blob/pidmod/src/main/java/frc/robot/subsystems/DriveTrain.java