DUNE: Uniform Navigational Environment
2016.05.0
|
This struct has methods to encode an EstimatedState IMC message into an UamTxFrame and to decode an EstimatedState from an UamRxFrame.
Static Public Member Functions | |
static void | encode (const IMC::EstimatedState *msg, IMC::UamTxFrame *frame) |
static IMC::Message * | decode (const IMC::UamRxFrame *frame) |
static size_t | getSize (void) |
Static Public Attributes | |
static const uint8_t | c_id |
|
inlinestatic |
Decode an UamRxFrame to retrieve an EstimatedState message.
[in] | frame | UamRxFrame pointer. |
References DUNE::IMC::EstimatedState::alt, DUNE::IMC::UamRxFrame::data, DUNE::IMC::EstimatedState::depth, DUNE::IMC::deserialize(), getSize(), DUNE::IMC::EstimatedState::lat, DUNE::IMC::EstimatedState::lon, and DUNE::IMC::EstimatedState::psi.
|
inlinestatic |
Encode an EstimatedState message to a UamTxFrame message pointer.
[in] | msg | EstimatedState pointer. |
[out] | frame | UamTxFrame pointer. |
References DUNE::IMC::EstimatedState::alt, c_id, DUNE::IMC::UamTxFrame::data, DUNE::IMC::EstimatedState::depth, getSize(), DUNE::IMC::EstimatedState::psi, DUNE::IMC::serialize(), and DUNE::Coordinates::toWGS84().
|
inlinestatic |
|
static |