FRCTeam1967 / 2024Crescendo

Team 1967's robot code for the 2024 Crescendo game
0 stars 0 forks source link

Probably shouldn't configure motors during periodic() #5

Open drsandytoes opened 7 months ago

drsandytoes commented 7 months ago

https://github.com/FRCTeam1967/2024Crescendo/blob/57227d48ca1bafa2eca9775745ca420a07632d7b/2024Crescendo/src/main/java/frc/robot/Robot.java#L97

Unless there's a really good reason, I don't think we want to be reconfiguring motors during periodic(). I think it can take a few ms, and we're called every 20ms.