Vehicle Formation Participant.
DUNE::IMC::VehicleFormationParticipant::VehicleFormationParticipant |
( |
void |
| ) |
|
void DUNE::IMC::VehicleFormationParticipant::clear |
( |
void |
| ) |
|
|
virtual |
uint16_t DUNE::IMC::VehicleFormationParticipant::deserializeFields |
( |
const uint8_t * |
bfr, |
|
|
uint16_t |
len |
|
) |
| |
|
virtual |
Deserialize message fields from a packet.
- Parameters
-
bfr | stream of bytes (packet) |
len | length of the byte stream. |
- Returns
- number of bytes processed.
Implements DUNE::IMC::Message.
References DUNE::IMC::deserialize().
bool DUNE::IMC::VehicleFormationParticipant::fieldsEqual |
( |
const Message & |
other | ) |
const |
|
virtual |
Compare fields for equality.
- Parameters
-
[in] | other | message to compare. |
- Returns
- true if fields are equal, false otherwise.
Reimplemented from DUNE::IMC::Message.
References off_x, off_y, off_z, and vid.
void DUNE::IMC::VehicleFormationParticipant::fieldsToJSON |
( |
std::ostream & |
os, |
|
|
unsigned |
indent_level |
|
) |
| const |
|
virtual |
Output the message fields (excluding header) in JSON format.
- Parameters
-
os | output stream. |
indent_level | number of indentation spaces. |
Reimplemented from DUNE::IMC::Message.
References DUNE::IMC::toJSON().
unsigned DUNE::IMC::VehicleFormationParticipant::getFixedSerializationSize |
( |
void |
| ) |
const |
|
inlinevirtual |
uint16_t DUNE::IMC::VehicleFormationParticipant::getId |
( |
void |
| ) |
const |
|
inlinevirtual |
static uint16_t DUNE::IMC::VehicleFormationParticipant::getIdStatic |
( |
void |
| ) |
|
|
inlinestatic |
const char* DUNE::IMC::VehicleFormationParticipant::getName |
( |
void |
| ) |
const |
|
inlinevirtual |
uint16_t DUNE::IMC::VehicleFormationParticipant::reverseDeserializeFields |
( |
const uint8_t * |
bfr, |
|
|
uint16_t |
len |
|
) |
| |
|
virtual |
uint8_t * DUNE::IMC::VehicleFormationParticipant::serializeFields |
( |
uint8_t * |
bfr__ | ) |
const |
|
virtual |
int DUNE::IMC::VehicleFormationParticipant::validate |
( |
void |
| ) |
const |
|
virtual |
Validate the message's contents.
- Returns
- negative value in case of a valid message or a positive value indicating the position of the invalid message field.
Implements DUNE::IMC::Message.
fp32_t DUNE::IMC::VehicleFormationParticipant::off_x |
fp32_t DUNE::IMC::VehicleFormationParticipant::off_y |
fp32_t DUNE::IMC::VehicleFormationParticipant::off_z |
uint16_t DUNE::IMC::VehicleFormationParticipant::vid |