distanceSensor

fun distanceSensor(name: String): Lazy<Rev2mDistanceSensor>

Helper function to create a Rev2mDistanceSensor property delegate.

Return

a Lazy that gets the Rev2mDistanceSensor from the hardware

Parameters

name

the name of the Rev2mDistanceSensor