raisim::SpinningLidar::SpinningLidarProperties
struct · #include <raisim/sensors/SpinningLidar.hpp>
Configuration of a SpinningLidar.
Public attributes
name
std::string nameSensor name (without the sensor set prefix).
full_name
std::string full_nameSensor name including the sensor set prefix.
yawSamples
int yawSamplesNumber of samples per revolution in yaw (yaw spacing is 2*pi / yawSamples).
pitchSamples
int pitchSamplesNumber of samples in pitch, evenly spaced from pitchMinAngle to pitchMaxAngle inclusive.
pitchMinAngle
double pitchMinAngleMinimum pitch angle in radians.
pitchMaxAngle
double pitchMaxAngleMaximum pitch angle in radians.
rangeMin
double rangeMinMinimum range in meters. Rays start this far from the sensor origin.
rangeMax
double rangeMaxMaximum range in meters.
spinningRate
double spinningRateSpinning rate in revolutions per second.
spinDirection
int spinDirectionSpin direction, 1 or -1: 1 increases yaw (counter-clockwise about the sensor +z axis), -1 decreases it.
rangeBias
double rangeBiasConstant range bias in meters.
rangeNoiseStd
double rangeNoiseStdStandard deviation of independent Gaussian range noise in meters.
angularNoiseStd
double angularNoiseStdStandard deviation of independent Gaussian yaw and pitch errors, in radians.
resolution
double resolutionRange quantization step in meters; zero disables quantization.
dropoutProbability
double dropoutProbabilityProbability of discarding a hit. Misses and discarded hits are omitted from the scan.
seed
uint32_t seedZero derives a stream from sensor identity and owner id; nonzero selects an explicit stream. The World environment seed is mixed into both.