nlohmann::json json
json namespace
Defines how to save certain datatypes to json.
AttitudeUncertaintyUnits
Possible units for the uncertainty of the attitude.
@ rad
Standard deviation [radian].
@ deg
Standard deviation [degree].
@ rad2
Variance [radian^2].
@ deg2
Variance [degree^2].
void to_json(json &j, const PositionUncertaintyUnits &data)
Converts the provided data into a json object.
PositionUncertaintyUnits
Possible units for the uncertainty of the position.
@ meter2
Variance [m^2, m^2, m^2].
@ COUNT
Amount of items in the enum.
@ meter
Standard deviation [m, m, m].
VelocityUncertaintyUnits
Possible units for the uncertainty of the velocity.
@ m_s
Standard deviation [m/s].
@ m2_s2
Variance [m^2/s^2].
void from_json(const json &j, PositionUncertaintyUnits &data)
Converts the provided json object into the data object.
AttitudeUnits
Possible units for the attitude.
VelocityUnits
Possible units for the velocity.
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.