DUNE: Uniform Navigational Environment
2019.02.0
|
Fix data structure.
Static Public Member Functions | |
static void | decode (Fix &frame, const std::vector< char > &data) |
static void | encode (Fix &frame, std::vector< uint8_t > &data) |
static size_t | size (void) |
Public Attributes | |
fp64_t | lat |
fp64_t | lon |
fp32_t | z |
uint8_t | z_units |
fp32_t | accuracy |
|
inlinestatic |
Decode an incoming data frame into a fix message.
[out] | frame | fix structure. |
[in] | data | incoming frame. |
References accuracy, DUNE::Navigation::UsblTools::c_code, DUNE::IMC::deserialize(), lat, lon, size(), z, and z_units.
Referenced by DUNE::Navigation::UsblTools::Node::parse().
|
inlinestatic |
Encode a fix message into a data frame.
[in] | frame | fix structure. |
[out] | data | data frame. |
References accuracy, DUNE::Navigation::UsblTools::c_code, DUNE::Navigation::UsblTools::CODE_FIX, lat, lon, DUNE::IMC::serialize(), size(), z, and z_units.
Referenced by DUNE::Navigation::UsblTools::Modem::encode().
|
inlinestatic |
fp32_t DUNE::Navigation::UsblTools::Fix::accuracy |
fp64_t DUNE::Navigation::UsblTools::Fix::lat |
fp64_t DUNE::Navigation::UsblTools::Fix::lon |
fp32_t DUNE::Navigation::UsblTools::Fix::z |
uint8_t DUNE::Navigation::UsblTools::Fix::z_units |