lazyImu

fun lazyImu(name: String, orientation: RevHubOrientationOnRobot): Lazy<LazyImu>

Helper function to create a lazy IMU property delegate.

Return

a Lazy that gets the lazy IMU from the hardware map

Parameters

name

the name of the IMU

orientation

the orientation of the IMU on the robot