Robotec GPU Lidar (RGL) allows introducing Gaussian noise which models the naturally present noise of the physical devices.
Gaussian noise is described by the following formula:
It is parametrized by these two values:
- μ - mean value
- σ - standard deviation
The following table presents concisely all kinds of Gaussian noise available in RGL. The next chapters describe them in greater detail.
This type of noise applies angular noise to the rays before raycasting. When this type of noise is applied, points stay on the obstacle surface
Create GaussianNoiseAngularRayNode
using API call rgl_node_gaussian_noise_angular_ray
. Next, add this node to the RGL pipeline before RaytraceNode
.
Parameter name | Type | Description |
---|---|---|
mean |
float |
Angular noise mean in radians |
st_dev |
float |
Angular noise standard deviation in radians |
axis |
rgl_axis_t |
Axis on which angular noise will be perform |
This type of noise adds angular noise to already computed hitpoints. In other words, it is a rotation of each hitpoint around LiDAR's origin. When this type of noise is applied, points may be no longer on the obstacle surface
Create GaussianNoiseAngularHitpointNode
using API call rgl_node_gaussian_noise_angular_hitpoint
. Next, add this node to the RGL pipeline right after RaytraceNode
.
Parameter name | Type | Description |
---|---|---|
mean |
float |
Angular noise mean in radians |
st_dev |
float |
Angular noise standard deviation in radians |
axis |
rgl_axis_t |
Axis on which angular noise will be perform |
This kind of noise changes the distance between hitpoint and lidar's origin.
Standard deviation can depend (increase linearly) on the point's distance from the sensor origin.
Overall standard deviation of the distance error is computed as follows:
where
Create GaussianNoiseDistanceNode
using API call rgl_node_gaussian_noise_distance
. Next, add this node to the RGL pipeline right after RaytraceNode
.
Parameter name | Type | Description |
---|---|---|
mean |
float |
Distance noise mean in meters |
st_dev_base |
float |
Distance noise standard deviation base in meters. Represented as in Distance noise chapter |
st_dev_rise_per_meter |
float |
Distance noise standard deviation rise per meter. Represented as in Distance noise chapter |