Robotec GPU Lidar (RGL) allows introducing Gaussian noise, which models the naturally present noise of the physical devices.
The following formula describes Gaussian noise:
It is parametrized by these two values:
- μ - mean value
- σ - standard deviation
The following table presents all kinds of Gaussian noise available in RGL concisely. 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 GaussianNoiseAngularRaysNode
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 performed |
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 no longer be 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 performed |
This noise changes the distance between the hitpoint and the lidar's origin.
Standard deviation can depend (increase linearly) on the point's distance from the sensor origin.
The 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 the Distance noise chapter |
st_dev_rise_per_meter |
float |
Distance noise standard deviation rise per meter. Represented as in the Distance noise chapter |