Struct ImuErrors
Defined in File ImuErrors.hpp
Inheritance Relationships
Base Type
public aspn_xtensor::AspnBase
Struct Documentation
Container for estimated IMU sensor errors.
Generally, the error model followed is that given in Titterton and Weston, 2nd edition, eq 8.4 and 8.5: \( v_{meas} = (1 + e_{scale})v_{true} + e_{misalignment} + e_{bias} + e_{noise} \)
Misalignment errors are currently not represented. Note that care must be taken with signs as many filter formulations do not estimate these values directly, but rather the error-form and these should be negated when assigned to this container.
Public Functions
Constructor.
- Parameters
accel_biases – Accel biases in sensor frame, m/s^2.
gyro_biases – Gyro biases in sensor frame, rad/s.
accel_scale_factors – Sensor frame, unitless.
gyro_scale_factors – Sensor frame, unitless.
time – Time at which values are valid.
message_type – the ASPN message type assigned to ImuErrors. This will likely be specific to the running program. Defaults to ASPN_EXTENDED_BEGIN since ImuErrors extends the set of defined ASPN messages. Note, if this default value is not overridden by a program using NavToolkit, then the type assigned to ImuErrors may conflict with another type used by that program. Users should be careful to ensure that all ASPN message types used by their program have unique types if they are using AspnBase::get_message_type to identify a message type.
Public Members
Accel biases in sensor frame, m/s^2, such that \( accel_{meas} = accel_{true} + accel_{bias} \) in the absence of other errors.
Gyro biases in sensor frame, rad/s, such that \( gyro_{meas} = gyro_{true} + gyro_{bias} \) in the absence of other errors.
Accel scale factors in sensor frame, unitless, such that \( accel_{meas} = (1 + accel_{scale})accel_{true} \) in the absence of other errors.
Gyro scale factors in sensor frame, unitless, such that \( gyro_{meas} = (1 + gyro_{scale})gyro_{true} \) in the absence of other errors.
Time at which the IMU errors are considered to be valid.