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