frc78 / FRC78_2024

Software repository for FRC Team 78's robot code for the 2024 FRC game Crescendo
Other
5 stars 1 forks source link

Log elevator position and goal in inches #195

Open ArchdukeTim opened 5 months ago

ArchdukeTim commented 5 months ago

ProfiledPIDController converts all of the units to meters 🙄 so when we log it, the values doesn't match up with the encoder readings or the set point. This makes it annoying to graph in advantagescope.

All of the values logged in Elevator#periodic that come from the profiled pid controller should be converted from meters to inches