Lidar#
#include "navground/sim/state_estimations/sensor_lidar.h"
A distance scanner.
Registered properties:
range
(float, get_range)start_angle
(float, get_start_angle)field_of_view
(float, get_field_of_view)resolution
(float, get_resolution)position
(Vector2, get_position)error_bias
(float, get_error_bias)error_std_dev
(float, get_error_std_dev)
Public Functions
Constructs a new instance.
- Parameters:
range – [in] The maximal range of the sensor
start_angle – [in] The starting angle
field_of_view – [in] The field of view
resolution – [in] The number of ranging measurements per scan
position – [in] The position of the sensor with respect to the agent origin.
error_bias – [in] The systematic error for all rangings.
error_std_dev – [in] The rangings error standard deviation.
name – [in] The name to use as a prefix
Sets the range of view.
- Parameters:
value – [in] The new value
Gets the range of view.
- Returns:
The range of view.
Sets the range of view.
- Parameters:
value – [in] The new value
Gets the range of view.
- Returns:
The range of view.
Sets the range of view.
- Parameters:
value – [in] The new value
Gets the range of view.
- Returns:
The range of view.
Sets the error bias, i.e., the systematic error for all rangings.
- Parameters:
value – [in] The new value
Gets the error bias, i.e., the systematic error for all rangings.
- Returns:
The error.
Sets the rangings error standard deviation.
- Parameters:
value – [in] The positive value
Gets the rangings error standard deviation.
- Returns:
The error.
Sets the range of view.
- Parameters:
value – [in] The new value
Gets the range of view.
- Returns:
The range of view.
Sets the position of the sensor with respect to the agent origin.
- Parameters:
value – [in] The new value
Gets the position of the sensor with respect to the agent origin.
- Returns:
The position.
Gets the angular increment between rays.
- Returns:
The angular increment.
Gets the ray angles.
- Returns:
The angles.
Reads the ranges stored in a sensing state.
- Parameters:
state – The state
- Returns:
The array of ranges
Public Static Attributes
The default range
The default start angle [radians]
The default field of view [radians]
The default resolution
The default error bias
The default error standard deviation
The name of the buffer set by the sensor