Lidar#
Holds a Lidar scan
- Type:
The angular increment between consecutive ranging.
- Type:
The field of view
- Type:
The maximal range
- Type:
The starting angle
Bases:
Sensor,StateEstimationA distance scanner.
Registered properties:
range (float,
range)start_angle (float,
start_angle)field_of_view (float,
field_of_view)resolution (float,
resolution)position (Vector2,
position)error_bias (float,
error_bias)error_std_dev (float,
error_std_dev)
Constructs a new instance.
- Parameters:
range – The maximal range of the sensor
start_angle – The starting angle
field_of_view – The field of view
resolution – The number of ranging measurements per scan
position – The position of the sensor with respect to the agent origin.
error_bias – The systematic error for all rangings.
error_std_dev – The rangings error standard deviation.
name – The name to use as a prefix
Reads the ranges stored in a sensing state
Calls
read_ranges_with_name, passingSensor.name.- Parameters:
state – The state
- Returns:
The array of ranges
Reads a ranges stored in a sensing state
- Parameters:
state – The state
name – The namespace of the ranges
- Returns:
An array of ranges or null if none were found.
Reads a scan from a
SensingStateCall
read_scan_with_name, passingSensor.name.- Parameters:
state – The state
- Returns:
A scan or null if none was found.
Reads a scan from a
SensingState- Parameters:
state – The state
name – The namespace of the scan
- Returns:
A scan or null if none was found.
- Type:
The angular increment between rays.
- Type:
The error bias, i.e., the systematic error for all rangings.
- Type:
The rangings error standard deviation.
- Type:
The range of view.
- Type:
The position of the sensor with respect to the agent origin.
- Type:
The range of view.
- Type:
The range of view.
- Type:
The range of view.