Skip to content

raisim::SpinningLidar::SpinningLidarProperties ​

struct · #include <raisim/sensors/SpinningLidar.hpp>

Configuration of a SpinningLidar.

Public attributes ​

name ​

cpp
std::string name

Sensor name (without the sensor set prefix).

full_name ​

cpp
std::string full_name

Sensor name including the sensor set prefix.

yawSamples ​

cpp
int yawSamples

Number of samples per revolution in yaw (yaw spacing is 2*pi / yawSamples).

pitchSamples ​

cpp
int pitchSamples

Number of samples in pitch, evenly spaced from pitchMinAngle to pitchMaxAngle inclusive.

pitchMinAngle ​

cpp
double pitchMinAngle

Minimum pitch angle in radians.

pitchMaxAngle ​

cpp
double pitchMaxAngle

Maximum pitch angle in radians.

rangeMin ​

cpp
double rangeMin

Minimum range in meters. Rays start this far from the sensor origin.

rangeMax ​

cpp
double rangeMax

Maximum range in meters.

spinningRate ​

cpp
double spinningRate

Spinning rate in revolutions per second.

spinDirection ​

cpp
int spinDirection

Spin direction, 1 or -1: 1 increases yaw (counter-clockwise about the sensor +z axis), -1 decreases it.

rangeBias ​

cpp
double rangeBias

Constant range bias in meters.

rangeNoiseStd ​

cpp
double rangeNoiseStd

Standard deviation of independent Gaussian range noise in meters.

angularNoiseStd ​

cpp
double angularNoiseStd

Standard deviation of independent Gaussian yaw and pitch errors, in radians.

resolution ​

cpp
double resolution

Range quantization step in meters; zero disables quantization.

dropoutProbability ​

cpp
double dropoutProbability

Probability of discarding a hit. Misses and discarded hits are omitted from the scan.

seed ​

cpp
uint32_t seed

Zero derives a stream from sensor identity and owner id; nonzero selects an explicit stream. The World environment seed is mixed into both.

RaiSim — physics for robotics and AI.