NextDistanceSensor
Parameters
initializer
Lazily resolves the backing DistanceSensor.
Constructor to create a NextDistanceSensor using a configuration name.
Parameters
name
The configuration name for the sensor, usually found on the Driver Station.
Constructor to create a NextDistanceSensor using a LynxModule and I2C bus number.
Parameters
module
The Lynx Module, see RobotController.controlHub, RobotController.expansionHub, and RobotController.servoHubs
bus
The I2C bus number (in the range 0, 3)