mathewdunne / AdvantageKit-Swerve-Example

0 stars 0 forks source link

Diagnose loop scheduler overruns #14

Closed mathewdunne closed 1 day ago

mathewdunne commented 1 day ago

https://docs.wpilib.org/en/stable/docs/software/advanced-gradlerio/profiling-with-visualvm.html Image

mathewdunne commented 1 day ago

The most CPU time came from simulationPeriodic after moving to PNP_ON_COPROCESSOR for photonvision. I think this code would be fine on a real robot