Go to the documentation of this file.
12 namespace fusion_engine {
111 return "Clear Faults";
117 return "Fatal Error";
123 return "Enable GNSS";
126 return "Region Blackout";
129 return "Unrecognized";
138 stream <<
to_string(type) <<
" (" << (int)type <<
")";
170 return "Acceleration";
176 return "Unrecognized";
185 stream <<
to_string(type) <<
" (" << (int)type <<
")";
214 uint8_t reserved[15] = {0};
MessageType
Identifiers for the defined output message types.
Library portability helper definitions.
@ CRASH
Force the device to crash (intended for factory test purposes only).
uint32_t payload_length_bytes
The size of the payload (in bytes).
@ ALTITUDE
Simulate a maximum altitude limit.
@ FATAL_ERROR
Force the device to exhibit a fatal error (intended for factory test purposes only).
static constexpr MessageType MESSAGE_TYPE
@ SPEED
Simulate a maximum speed limit.
@ NONE
Clear the current COCOM limit.
@ ENABLE_GNSS
Enable/disable use of GNSS measurements (intended for dead reckoning performance testing).
Enable/disable a specified system fault (MessageType::FAULT_CONTROL, version 1.0).
The base class for all message payloads.
@ REGION_BLACKOUT
Simulate a region blackout (intended for factory test purposes only).
GNSS signal and frequency type definitions.
FaultType fault_type
The type of fault/control to be performed.
P1_CONSTEXPR_FUNC const char * to_string(ConfigType type)
Get a human-friendly string name for the specified ConfigType.
@ ACCELERATION
Simulate a maximum acceleration limit.
#define P1_CONSTEXPR_FUNC
@ CLEAR_ALL
Clear existing faults.
@ COCOM
Simulate a COCOM limit (intended for factory test purposes only).
static constexpr uint8_t MESSAGE_VERSION
std::ostream & operator<<(std::ostream &stream, ConfigType type)
ConfigType stream operator.
Point One FusionEngine output message common definitions.
FaultType
Available fault types/control inputs.
CoComType
The type of COCOM limit to be applied.
@ FAULT_CONTROL
FaultControlMessage