214template<
typename Derived>
233template<
typename Derived>
252template<
typename Derived>
271template<
typename Derived>
294template<
typename Derived>
313template<
typename Derived>
336template<
typename Derived>
355template<
typename Derived>
363 return value / 3600.0;
367 return deg2rad(value) / 3600.0;
378template<
typename Derived>
397template<
typename Derived>
405 return value / 3600.0;
409 return deg2rad(value) / 3600.0;
nlohmann::json json
json namespace
Defines how to save certain datatypes to json.
static constexpr double G_NORM
Standard gravity in [m / s^2].
void to_json(json &j, const PositionUncertaintyUnits &data)
Converts the provided data into a json object.
@ COUNT
Amount of items in the enum.
ImuGyroscopeUnits
Possible units to specify an gyroscope bias with.
@ COUNT
Amount of items in the enum.
ImuAccelerometerIRWUnits
Possible units to specify an accelerometer IRW.
@ COUNT
Amount of items in the enum.
@ m_s3_sqrth
[m/s^3/sqrt(h)] (Standard deviation)
@ m_s3_sqrts
[m/s^3/sqrt(s)] (Standard deviation)
ImuAccelerometerNoiseUnits
Possible units to specify an accelerometer noise.
@ m_s2_sqrts
[m/s^2/sqrt(s)] (Standard deviation)
@ COUNT
Amount of items in the enum.
@ m_s2_sqrth
[m/s^2/sqrt(h)] (Standard deviation)
ImuAccelerometerFilterNoiseUnits
Possible units to specify an accelerometer noise in a filter.
@ COUNT
Amount of items in the enum.
@ m_s2_sqrtHz
[m / s^2 / √(Hz)]
ImuAccelerometerFilterBiasUnits
Possible units for the accelerometer dynamic bias.
@ COUNT
Amount of items in the enum.
ImuGyroscopeFilterBiasUnits
Possible units for the gyroscope dynamic bias.
@ COUNT
Amount of items in the enum.
ImuGyroscopeFilterNoiseUnits
Possible units to specify an gyro noise in a filter.
@ deg_hr_sqrtHz
[deg / hr /√(Hz)]
@ COUNT
Amount of items in the enum.
@ rad_s_sqrtHz
[rad / s /√(Hz)]
@ deg_s_sqrtHz
[deg / s /√(Hz)]
@ rad_hr_sqrtHz
[rad / hr /√(Hz)]
void from_json(const json &j, PositionUncertaintyUnits &data)
Converts the provided json object into the data object.
ImuGyroscopeIRWUnits
Possible units to specify an gyro RW.
@ rad_s2_sqrth
[rad/s^2/sqrt(h)] (Standard deviation)
@ COUNT
Amount of items in the enum.
@ deg_s2_sqrth
[deg/s^2/sqrt(h)] (Standard deviation)
@ deg_s2_sqrts
[deg/s^2/sqrt(s)] (Standard deviation)
@ rad_s2_sqrts
[rad/s^2/sqrt(s)] (Standard deviation)
ImuGyroscopeNoiseUnits
Possible units to specify an gyro noise.
@ deg_s_sqrth
[deg/s/sqrt(h)] (Standard deviation)
@ COUNT
Amount of items in the enum.
@ rad_s_sqrts
[rad/s/sqrt(s)] (Standard deviation)
@ rad_s_sqrth
[rad/s/sqrt(h)] (Standard deviation)
@ deg_s_sqrts
[deg/s/sqrt(s)] (Standard deviation)
ImuAccelerometerUnits
Possible units to specify an accelerometer with.
@ COUNT
Amount of items in the enum.
const char * to_string(gui::widgets::PositionWithFrame::ReferenceFrame refFrame)
Converts the enum to a string.
double convertUnit(const double &value, Units::PositionUncertaintyUnits unit)
Converts the value depending on the unit provided.
constexpr auto deg2rad(const T °)
Convert Degree to Radians.