Enumerations

class quanser.devices.enumerations.LCDAccess

The LCD access mode.

ASYNCHRONOUS = 1

Multiple processes can access the LCD at the same time but hold a global mutex while actually writing to the display. Skips write if mutex already held by another process.

EXCLUSIVE = 2

Only one process can access the LCD at a time (global mutex is held as long as the LCD is open).

SHARED = 0

Multiple processes can access the LCD at the same time but hold a global mutex while actually writing to the display. Waits for mutex to be released.

class quanser.devices.enumerations.RangingDistance

The ranging distance.

LONG = 2

Long ranging distance. Uses the boost or sensitivity scan modes, if available, since they have 28 m range. Gives priority to the sensitivity mode.

MEDIUM = 1

Medium ranging distance. Uses the express mode, which has 16 m range and more data points (4000 sps).

SHORT = 0

Short ranging distance. For the short range, use the legacy mode since it has 1/4 mm distance measurements or the stability mode. Give priority to the stability mode since it is newer and provides more data points.

class quanser.devices.enumerations.RangingMeasurementMode

The ranging measurement mode.

INTERPOLATED = 1

Returns the number of measurements, N, requested. Angles will start at zero and be 360/N apart. Raw measurements will be interpolated to estimate distance at each angle.

NORMAL = 0

Return actual measurement data. Number of measurements will vary and angles will not be consistent between scans. Angles will start close to zero.

class quanser.devices.enumerations.RangingSensorType

The sensor type.

INVALID = 0

Invalid sensor type.

RPLIDAR = 2

Slamtec RPLidar 2D LIDAR sensor.

VL53L1 = 1

ST Microelectronics VL31L1 time-of-flight sensor.