24 LOG_WARN(
"Could not parse '{}' into ImuAccelerometerUnits. Consider resaving the flow", j.dump());
27 std::string
str = j.get<std::string>();
47 LOG_WARN(
"Could not parse '{}' into ImuGyroscopeUnits. Consider resaving the flow", j.dump());
50 std::string
str = j.get<std::string>();
70 LOG_WARN(
"Could not parse '{}' into ImuAccelerometerNoiseUnits. Consider resaving the flow", j.dump());
73 std::string
str = j.get<std::string>();
93 LOG_WARN(
"Could not parse '{}' into ImuGyroscopeNoiseUnits. Consider resaving the flow", j.dump());
96 std::string
str = j.get<std::string>();
116 LOG_WARN(
"Could not parse '{}' into ImuAccelerometerIRWUnits. Consider resaving the flow", j.dump());
119 std::string
str = j.get<std::string>();
139 LOG_WARN(
"Could not parse '{}' into ImuGyroscopeIRWUnits. Consider resaving the flow", j.dump());
142 std::string
str = j.get<std::string>();
162 LOG_WARN(
"Could not parse '{}' into ImuAccelerometerFilterNoiseUnits. Consider resaving the flow", j.dump());
165 std::string
str = j.get<std::string>();
185 LOG_WARN(
"Could not parse '{}' into ImuGyroscopeFilterNoiseUnits. Consider resaving the flow", j.dump());
188 std::string
str = j.get<std::string>();
208 LOG_WARN(
"Could not parse '{}' into ImuAccelerometerFilterBiasUnits. Consider resaving the flow", j.dump());
211 std::string
str = j.get<std::string>();
231 LOG_WARN(
"Could not parse '{}' into ImuGyroscopeFilterBiasUnits. Consider resaving the flow", j.dump());
234 std::string
str = j.get<std::string>();
327 return "rad/s^2/√(s)";
329 return "rad/s^2/√(h)";
331 return "deg/s^2/√(s)";
333 return "deg/s^2/√(h)";
345 return "m/s^2/√(Hz)";
359 return "rad/s/√(Hz)";
361 return "rad/hr/√(Hz)";
363 return "deg/s/√(Hz)";
365 return "deg/hr/√(Hz)";
nlohmann::json json
json namespace
Utility class for logging to console and file.
#define LOG_WARN
Error occurred, but a fallback option exists and program continues to work normally.
void to_json(json &j, const PositionUncertaintyUnits &data)
Converts the provided data into a json object.
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.