Vehicle Formation Participant.
◆ VehicleFormationParticipant()
| DUNE::IMC::VehicleFormationParticipant::VehicleFormationParticipant |
( |
void |
| ) |
|
◆ clear()
| void DUNE::IMC::VehicleFormationParticipant::clear |
( |
void |
| ) |
|
|
virtual |
◆ clone()
◆ deserializeFields()
| 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().
◆ fieldsEqual()
| 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.
◆ fieldsToJSON()
| 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().
◆ getFixedSerializationSize()
| unsigned DUNE::IMC::VehicleFormationParticipant::getFixedSerializationSize |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ getId()
| uint16_t DUNE::IMC::VehicleFormationParticipant::getId |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ getIdStatic()
| static uint16_t DUNE::IMC::VehicleFormationParticipant::getIdStatic |
( |
void |
| ) |
|
|
inlinestatic |
◆ getName()
| const char* DUNE::IMC::VehicleFormationParticipant::getName |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ reverseDeserializeFields()
| uint16_t DUNE::IMC::VehicleFormationParticipant::reverseDeserializeFields |
( |
const uint8_t * |
bfr, |
|
|
uint16_t |
len |
|
) |
| |
|
virtual |
◆ serializeFields()
| uint8_t * DUNE::IMC::VehicleFormationParticipant::serializeFields |
( |
uint8_t * |
bfr__ | ) |
const |
|
virtual |
◆ validate()
| 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.
◆ off_x
| fp32_t DUNE::IMC::VehicleFormationParticipant::off_x |
◆ off_y
| fp32_t DUNE::IMC::VehicleFormationParticipant::off_y |
◆ off_z
| fp32_t DUNE::IMC::VehicleFormationParticipant::off_z |
◆ vid
| uint16_t DUNE::IMC::VehicleFormationParticipant::vid |