nlohmann::json json
json namespace
Defines how to save certain datatypes to json.
void to_json(json &j, const PositionUncertaintyUnits &data)
Converts the provided data into a json object.
CovarianceAngularVelocityUnits
Possible Units for the Standard deviation of the rotation velocity.
@ deg_sqrts
[ deg / √(s) ]
@ rad_sqrts
[ rad / √(s) ]
@ degsqrts_min
[ deg √(s) / min ]
@ deg2s_min2
[ deg^2 s / min^2 ]
CovarianceClkPhaseDriftUnits
Possible Units for the Standard deviation of the clock phase drift.
@ COUNT
Amount of items in the enum.
CovarianceAccelUnits
Possible Units for the Standard deviation of the acceleration due to user motion.
void from_json(const json &j, PositionUncertaintyUnits &data)
Converts the provided json object into the data object.
CovarianceClkFrequencyDriftUnits
Possible Units for the Standard deviation of the clock frequency drift.
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.