Team997Coders / pyswerve_2024

0 stars 0 forks source link

Robot spins uncontrollably on first enable after calibrating NavX2 #58

Open Philipp-BH opened 8 months ago

Philipp-BH commented 8 months ago

When the NavX2 is calibrated, the next time the robot is enabled, it will spin around in place. This occasionally resolves itself, but is usually only solved by disabling and reenabling. Even then, it may still take a few seconds to resolve itself.

I suspect it may have to do with restarting the robot code; it would make sense to me if a continued process from a previous enabled period may be relying on old NavX2 data.