Class PhoenixOdometryThread

java.lang.Object
java.lang.Thread
com.stuypulse.robot.subsystems.swerve.PhoenixOdometryThread
All Implemented Interfaces:
Runnable

public class PhoenixOdometryThread extends Thread
Provides an interface for asynchronously reading high-frequency measurements to a set of queues.

This version is intended for Phoenix 6 devices on both the RIO and CANivore buses. When using a CANivore, the thread uses the "waitForAll" blocking method to enable more consistent sampling. This also allows Phoenix Pro users to benefit from lower latency between devices using CANivore time synchronization.