0.4.1
Loading...
Searching...
No Matches
Units.hpp File Reference

Units used by GNSS positioning. More...

Go to the source code of this file.

Namespaces

namespace  NAV
 
namespace  NAV::Units
 

Enumerations

enum class  NAV::Units::AttitudeUncertaintyUnits : uint8_t {
  NAV::Units::rad ,
  NAV::Units::deg ,
  NAV::Units::rad2 ,
  NAV::Units::deg2 ,
  NAV::Units::COUNT
}
 Possible units for the uncertainty of the attitude. More...
 
enum class  NAV::Units::AttitudeUnits : uint8_t {
  NAV::Units::rad ,
  NAV::Units::deg ,
  NAV::Units::COUNT
}
 Possible units for the attitude. More...
 
enum class  NAV::Units::PositionUncertaintyUnits : uint8_t {
  NAV::Units::meter ,
  NAV::Units::meter2 ,
  NAV::Units::COUNT
}
 Possible units for the uncertainty of the position. More...
 
enum class  NAV::Units::VelocityUncertaintyUnits : uint8_t {
  NAV::Units::m_s ,
  NAV::Units::m2_s2 ,
  NAV::Units::COUNT
}
 Possible units for the uncertainty of the velocity. More...
 
enum class  NAV::Units::VelocityUnits : uint8_t {
  NAV::Units::m_s ,
  NAV::Units::COUNT
}
 Possible units for the velocity. More...
 

Functions

double NAV::convertUnit (const double &value, Units::AttitudeUncertaintyUnits unit)
 Converts the value depending on the unit provided.
 
double NAV::convertUnit (const double &value, Units::AttitudeUnits unit)
 Converts the value depending on the unit provided.
 
double NAV::convertUnit (const double &value, Units::PositionUncertaintyUnits unit)
 Converts the value depending on the unit provided.
 
double NAV::convertUnit (const double &value, Units::VelocityUncertaintyUnits unit)
 Converts the value depending on the unit provided.
 
double NAV::convertUnit (const double &value, Units::VelocityUnits unit)
 Converts the value depending on the unit provided.
 
Eigen::Vector3d NAV::convertUnit (const Eigen::Vector3d &value, Units::AttitudeUncertaintyUnits unit)
 Converts the value depending on the unit provided.
 
Eigen::Vector3d NAV::convertUnit (const Eigen::Vector3d &value, Units::AttitudeUnits unit)
 Converts the value depending on the unit provided.
 
Eigen::Vector3d NAV::convertUnit (const Eigen::Vector3d &value, Units::PositionUncertaintyUnits unit)
 Converts the value depending on the unit provided.
 
Eigen::Vector3d NAV::convertUnit (const Eigen::Vector3d &value, Units::VelocityUncertaintyUnits unit)
 Converts the value depending on the unit provided.
 
Eigen::Vector3d NAV::convertUnit (const Eigen::Vector3d &value, Units::VelocityUnits unit)
 Converts the value depending on the unit provided.
 
void NAV::Units::from_json (const json &j, AttitudeUncertaintyUnits &data)
 Converts the provided json object into the data object.
 
void NAV::Units::from_json (const json &j, AttitudeUnits &data)
 Converts the provided json object into the data object.
 
void NAV::Units::from_json (const json &j, PositionUncertaintyUnits &data)
 Converts the provided json object into the data object.
 
void NAV::Units::from_json (const json &j, VelocityUncertaintyUnits &data)
 Converts the provided json object into the data object.
 
void NAV::Units::from_json (const json &j, VelocityUnits &data)
 Converts the provided json object into the data object.
 
void NAV::Units::to_json (json &j, const AttitudeUncertaintyUnits &data)
 Converts the provided data into a json object.
 
void NAV::Units::to_json (json &j, const AttitudeUnits &data)
 Converts the provided data into a json object.
 
void NAV::Units::to_json (json &j, const PositionUncertaintyUnits &data)
 Converts the provided data into a json object.
 
void NAV::Units::to_json (json &j, const VelocityUncertaintyUnits &data)
 Converts the provided data into a json object.
 
void NAV::Units::to_json (json &j, const VelocityUnits &data)
 Converts the provided data into a json object.
 
std::string NAV::to_string (Units::AttitudeUncertaintyUnits unit)
 Converts the unit into a string.
 
std::string NAV::to_string (Units::AttitudeUnits unit)
 Converts the unit into a string.
 
std::string NAV::to_string (Units::PositionUncertaintyUnits unit)
 Converts the unit into a string.
 
std::string NAV::to_string (Units::VelocityUncertaintyUnits unit)
 Converts the unit into a string.
 
std::string NAV::to_string (Units::VelocityUnits unit)
 Converts the unit into a string.
 

Detailed Description

Units used by GNSS positioning.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2025-02-18

Definition in file Units.hpp.