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