LaserScan

class LaserScan(*args, **kwargs)

Bases: pybind11_object

Implements a laser scan data structure that contains especially the list of scanned points that have been recorded for this laser scan.

Other data as the start/stop angle, the start/end timestamp are also considered.

Overloaded function.

  1. __init__(self: visp._visp.sensor.LaserScan) -> None

Default constructor that initialize all the internal variable to zero.

  1. __init__(self: visp._visp.sensor.LaserScan, scan: visp._visp.sensor.LaserScan) -> None

Copy constructor.

Methods

__init__

Overloaded function.

addPoint

Add the scan point at the end of the list.

clear

Drop the list of points.

getEndTimestamp

Return the measurement end time.

getScanPoints

Get the list of points.

getStartTimestamp

Return the measurement start time.

setEndTimestamp

End time of measurement.

setMeasurementId

Specifies the id of former measurements and increases with every measurement.

setNumPoints

Number of measured points of the measurement.

setNumSteps

Angular steps per scanner rotation.

setStartAngle

Start angle of the measurement in angular steps.

setStartTimestamp

Start time of measurement.

setStopAngle

Stop angle of the measurement in angular steps.

Inherited Methods

Operators

__doc__

__init__

Overloaded function.

__module__

Attributes

__annotations__

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: visp._visp.sensor.LaserScan) -> None

Default constructor that initialize all the internal variable to zero.

  1. __init__(self: visp._visp.sensor.LaserScan, scan: visp._visp.sensor.LaserScan) -> None

Copy constructor.

addPoint(self, p: visp._visp.sensor.ScanPoint) None

Add the scan point at the end of the list.

clear(self) None

Drop the list of points.

getEndTimestamp(self) float

Return the measurement end time.

getScanPoints(self) list[visp._visp.sensor.ScanPoint]

Get the list of points.

getStartTimestamp(self) float

Return the measurement start time.

setEndTimestamp(self, end_timestamp: float) None

End time of measurement.

setMeasurementId(self, id: int) None

Specifies the id of former measurements and increases with every measurement.

setNumPoints(self, num_points: int) None

Number of measured points of the measurement.

setNumSteps(self, num_steps: int) None

Angular steps per scanner rotation.

setStartAngle(self, start_angle: int) None

Start angle of the measurement in angular steps.

setStartTimestamp(self, start_timestamp: float) None

Start time of measurement.

setStopAngle(self, stop_angle: int) None

Stop angle of the measurement in angular steps.