DynIMU

constructor(@NonNull uninitializedIMU: IMU, @NonNull orientation: RevHubOrientationOnRobot)

Create a new object that will initialise the given IMU object when a read is required.

Parameters

uninitializedIMU

the IMU instance that is not yet initialised. Do not manually call initialize on this IMU before passing it here.

orientation

the orientation of the IMU relative to the robot.