FlintInspiresRealEngineers / FRC322Java2020

Team F.I.R.E.'s 2020 codebase.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

ERROR  1  DifferentialDrive... Output not updated often enough.  #1

Open ashtonbradley45274 opened 4 years ago

ashtonbradley45274 commented 4 years ago

ERROR  1  DifferentialDrive... Output not updated often enough.  edu.wpi.first.wpilibj.MotorSafety.check(MotorSafety.java:101)  Warning at edu.wpi.first.wpilibj.IterativeRobotBase.printLoopOverrunMessage(IterativeRobotBase.java:276): Loop time of 0.02s overrun 

CardcaptorRLH85 commented 4 years ago

Assuming that this only popped up on boot, this is a known issue with the way the CTRE Phoenix Framework interacts with WPIlib. It's mentioned in the Phoenix Framework docs here. CTRE has been attempting to optimize their framework to work around the issues with WPIlib for the last two seasons but, we're bumping up against the limitations of the hardware.

If we're having it happen repeatedly though, we may have to not call sensors so often.