Skip to content

raisim::InertialMeasurementUnit::ImuProperties ​

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

Complete IMU measurement model. All model effects are disabled by default.

Public types ​

NoiseType ​

cpp
enum class NoiseType : int

Legacy additive sample noise, shared by both channels. Prefer noiseDensity.

EnumeratorValueDescription
GAUSSIAN0Gaussian sample noise.
UNIFORMUniform sample noise with half-width sqrt(3) times std.
NO_NOISEDisable legacy additive sample noise.

Static member functions ​

stringToNoiseType static ​

cpp
static NoiseType stringToNoiseType(const std::string &type)

Parse gaussian/Gaussian or uniform/Uniform; other strings select NO_NOISE.

Public attributes ​

name ​

cpp
std::string name

Sensor name without the set prefix.

full_name ​

cpp
std::string full_name

Sensor name including its set prefix.

maxAcc ​

cpp
double maxAcc

Symmetric per-axis accelerometer range [m/s^2].

maxAngVel ​

cpp
double maxAngVel

Symmetric per-axis gyroscope range [rad/s].

noiseType ​

cpp
NoiseType noiseType

Selected legacy distribution; defaults to NO_NOISE.

mean ​

cpp
double mean

Legacy additive sample-noise mean, in each channel's units.

std ​

cpp
double std

Standard deviation; uniform noise has half-width sqrt(3) * std.

accelerometer ​

cpp
ChannelProperties accelerometer

Accelerometer parameters, using m/s^2 for channel units.

gyroscope ​

cpp
ChannelProperties gyroscope

Gyroscope parameters, using rad/s for channel units.

latency ​

cpp
double latency

Delivery latency [s], from 0 to 60. Acquisition timestamps remain unchanged.

seed ​

cpp
std::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.