Formation Evaluation Data.
Operation.
Enumerator |
---|
OP_START |
Start.
|
OP_STOP |
Stop.
|
OP_READY |
Ready.
|
OP_EXECUTING |
Executing.
|
OP_FAILURE |
Failure.
|
Type.
Enumerator |
---|
FC_REQUEST |
Request.
|
FC_REPORT |
Report.
|
DUNE::IMC::FormationEvaluation::FormationEvaluation |
( |
void |
| ) |
|
void DUNE::IMC::FormationEvaluation::clear |
( |
void |
| ) |
|
|
virtual |
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().
bool DUNE::IMC::FormationEvaluation::fieldsEqual |
( |
const Message & |
other | ) |
const |
|
virtual |
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().
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.
uint16_t DUNE::IMC::FormationEvaluation::getId |
( |
void |
| ) |
const |
|
inlinevirtual |
static uint16_t DUNE::IMC::FormationEvaluation::getIdStatic |
( |
void |
| ) |
|
|
inlinestatic |
const char* DUNE::IMC::FormationEvaluation::getName |
( |
void |
| ) |
const |
|
inlinevirtual |
unsigned DUNE::IMC::FormationEvaluation::getVariableSerializationSize |
( |
void |
| ) |
const |
|
inlinevirtual |
uint16_t DUNE::IMC::FormationEvaluation::reverseDeserializeFields |
( |
const uint8_t * |
bfr, |
|
|
uint16_t |
len |
|
) |
| |
|
virtual |
uint8_t * DUNE::IMC::FormationEvaluation::serializeFields |
( |
uint8_t * |
bfr__ | ) |
const |
|
virtual |
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.
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.
void DUNE::IMC::FormationEvaluation::setSourceEntityNested |
( |
uint8_t |
value | ) |
|
|
protectedvirtual |
Set the source entity of nested messages.
- Parameters
-
Reimplemented from DUNE::IMC::Message.
void DUNE::IMC::FormationEvaluation::setSourceNested |
( |
uint16_t |
value | ) |
|
|
protectedvirtual |
Set the source address of nested messages.
- Parameters
-
Reimplemented from DUNE::IMC::Message.
void DUNE::IMC::FormationEvaluation::setTimeStampNested |
( |
double |
value | ) |
|
|
protectedvirtual |
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.
fp32_t DUNE::IMC::FormationEvaluation::dist_min_abs |
fp32_t DUNE::IMC::FormationEvaluation::dist_min_mean |
fp32_t DUNE::IMC::FormationEvaluation::err_mean |
uint8_t DUNE::IMC::FormationEvaluation::op |
fp32_t DUNE::IMC::FormationEvaluation::roll_rate_mean |
fp32_t DUNE::IMC::FormationEvaluation::time |
uint8_t DUNE::IMC::FormationEvaluation::type |