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

Update logging #156

Open ArchdukeTim opened 7 months ago

ArchdukeTim commented 7 months ago

After BSU we realized it would be helpful to have more logging, especially for motor current.

For spark maxes we need to update the status frames https://docs.revrobotics.com/brushless/spark-max/control-interfaces. We can probably put it back to 20, and add URCL

For the talons on the cartridge, we probably need to log via advantage kit, since the ctre logger won't give us that data.

We also should log whether or not the hard limit is enabled on the feeder motor. We had one match where we were trying to shoot and the feeder wasn't running. This could be because the hard limit stayed enabled, even though we disable it when shooting.

uncookednehuel commented 7 months ago

Seems like status frame 1 is already set to 20ms

ArchdukeTim commented 7 months ago

So then all we'd have to do is add in URCL so that those frames get logged