Observed: Periodic functions AprilTagVision::periodic and SwerveSubsystem::periodic are called out of order. The end result is 20ms stale vision data. It's also possibly combined with more up-to-date odometry data from swerve. This may cause unexpected behavior.
Observed: Periodic functions AprilTagVision::periodic and SwerveSubsystem::periodic are called out of order. The end result is 20ms stale vision data. It's also possibly combined with more up-to-date odometry data from swerve. This may cause unexpected behavior.
Expected: Most recent vision data should be used.
From discussion: https://frcteam1474.slack.com/archives/C034KD3L9KN/p1708542501054449