IMUEx
Drop-in replacement for an Inertial Measurement Unit that provides WPIUnit data and the capabilities of automatic updates similar to (but not implementing) a subsystem multi-thread.
This class supports different readings of IMU measurement, such as an unrestricted domain on heading reads, while also being able to provide IMU units in terms of WPIUnits.
This class is also down-castable to the Universal IMU Interface. Note that all data in this class is retrieved via the run method, which opens the possibility for threading the IMU via startThread, similar to a BunyipsSubsystem.
Since this class is down-castable, it also can be used as a HardwareDevice and serves as a drop-in replacement for the IMU interface.
Field-exposed angles from this class are intrinsic. Read more in the YawPitchRollAngles and Orientation classes.
Author
Lucas Bubner, 2024
Since
4.0.0