Formation Evaluation Data.
◆ OperationEnum
Operation.
| Enumerator |
|---|
| OP_START | Start.
|
| OP_STOP | Stop.
|
| OP_READY | Ready.
|
| OP_EXECUTING | Executing.
|
| OP_FAILURE | Failure.
|
◆ TypeEnum
Type.
| Enumerator |
|---|
| FC_REQUEST | Request.
|
| FC_REPORT | Report.
|
◆ FormationEvaluation()
| DUNE::IMC::FormationEvaluation::FormationEvaluation |
( |
void |
| ) |
|
◆ clear()
| void DUNE::IMC::FormationEvaluation::clear |
( |
void |
| ) |
|
|
virtual |
◆ clone()
◆ deserializeFields()
| uint16_t DUNE::IMC::FormationEvaluation::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::FormationEvaluation::fieldsEqual |
( |
const Message & |
other | ) |
const |
|
virtual |
◆ fieldsToJSON()
| void DUNE::IMC::FormationEvaluation::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::FormationEvaluation::getFixedSerializationSize |
( |
void |
| ) |
const |
|
inlinevirtual |
Get the fixed amount of bytes required to properly serialize this message (variable length fields are not included).
- Returns
- amount of variable bytes required to serialize the message.
Reimplemented from DUNE::IMC::Message.
◆ getId()
| uint16_t DUNE::IMC::FormationEvaluation::getId |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ getIdStatic()
| static uint16_t DUNE::IMC::FormationEvaluation::getIdStatic |
( |
void |
| ) |
|
|
inlinestatic |
◆ getName()
| const char* DUNE::IMC::FormationEvaluation::getName |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ getVariableSerializationSize()
| unsigned DUNE::IMC::FormationEvaluation::getVariableSerializationSize |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ reverseDeserializeFields()
| uint16_t DUNE::IMC::FormationEvaluation::reverseDeserializeFields |
( |
const uint8_t * |
bfr, |
|
|
uint16_t |
len |
|
) |
| |
|
virtual |
◆ serializeFields()
| uint8_t * DUNE::IMC::FormationEvaluation::serializeFields |
( |
uint8_t * |
bfr__ | ) |
const |
|
virtual |
◆ setDestinationEntityNested()
| void DUNE::IMC::FormationEvaluation::setDestinationEntityNested |
( |
uint8_t |
value | ) |
|
|
protectedvirtual |
Set the destination entity of nested messages.
- Parameters
-
| [in] | value | destination entity. |
Reimplemented from DUNE::IMC::Message.
◆ setDestinationNested()
| void DUNE::IMC::FormationEvaluation::setDestinationNested |
( |
uint16_t |
value | ) |
|
|
protectedvirtual |
Set the destination address of nested messages.
- Parameters
-
| [in] | value | destination address. |
Reimplemented from DUNE::IMC::Message.
◆ setSourceEntityNested()
| void DUNE::IMC::FormationEvaluation::setSourceEntityNested |
( |
uint8_t |
value | ) |
|
|
protectedvirtual |
Set the source entity of nested messages.
- Parameters
-
Reimplemented from DUNE::IMC::Message.
◆ setSourceNested()
| void DUNE::IMC::FormationEvaluation::setSourceNested |
( |
uint16_t |
value | ) |
|
|
protectedvirtual |
Set the source address of nested messages.
- Parameters
-
Reimplemented from DUNE::IMC::Message.
◆ setTimeStampNested()
| void DUNE::IMC::FormationEvaluation::setTimeStampNested |
( |
double |
value | ) |
|
|
protectedvirtual |
◆ validate()
| int DUNE::IMC::FormationEvaluation::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.
◆ controlparams
◆ dist_min_abs
| fp32_t DUNE::IMC::FormationEvaluation::dist_min_abs |
◆ dist_min_mean
| fp32_t DUNE::IMC::FormationEvaluation::dist_min_mean |
◆ err_mean
| fp32_t DUNE::IMC::FormationEvaluation::err_mean |
◆ op
| uint8_t DUNE::IMC::FormationEvaluation::op |
◆ roll_rate_mean
| fp32_t DUNE::IMC::FormationEvaluation::roll_rate_mean |
◆ time
| fp32_t DUNE::IMC::FormationEvaluation::time |
◆ type
| uint8_t DUNE::IMC::FormationEvaluation::type |