Go to the documentation of this file.
14 #pragma warning(disable: 4200)
20 namespace fusion_engine {
90 uint8_t reserved[3] = {0};
115 uint8_t reserved[2] = {0};
270 uint8_t reserved[4] = {0};
308 return "Config Change";
321 uint8_t reserved1[3] = {0};
332 uint8_t reserved2[2] = {0};
MessageType
Identifiers for the defined output message types.
Response
Command response status indicators.
Request transmission of a specified message type, (MessageType::MESSAGE_REQUEST, version 1....
Response response
The response status (success, error, etc.).
@ COMMAND_RESPONSE
CommandResponseMessage
static constexpr uint32_t RESTART_NAVIGATION_ENGINE
Restart the navigation engine, but do not clear its position estimate.
@ INVALID
Invalid message type.
static constexpr uint32_t RESET_CALIBRATION_DATA
Reset the device calibration data.
uint8_t fw_version_length
The length of the firmware version string (in bytes).
Software and hardware version information, (MessageType::VERSION_INFO, version 1.0).
static constexpr uint32_t RESET_NAVIGATION_ENGINE_DATA
Reset all stored navigation engine data, including position, velocity, and orientation state,...
uint64_t event_flags
A bitmask of flags associated with the event.
@ INSUFFICIENT_SPACE
The command would require adding too many elements to an internal storage.
static constexpr MessageType MESSAGE_TYPE
static constexpr uint32_t FACTORY_RESET
Restart mask to set all persistent data, including calibration and user configuration,...
uint8_t rx_version_length
The length of the GNSS receiver version string (in bytes).
uint16_t event_description_len_bytes
The number of bytes in the event_description string.
@ UNSUPPORTED_FEATURE
The command interacts with a feature that is not present on the target device (e.g....
Notification of a system event for logging purposes (MessageType::EVENT_NOTIFICATION,...
The base class for all message payloads.
@ RESET_REQUEST
ResetRequest
@ VERSION_INFO
VersionInfoMessage
static constexpr uint32_t WARM_START
Perform a device warm start: reload the navigation engine, resetting the saved position,...
static constexpr uint32_t HOT_START
Perform a device hot start: reload the navigation engine and clear all runtime data (GNSS corrections...
static constexpr uint8_t MESSAGE_VERSION
int64_t system_time_ns
The current system timestamp (in ns).
static const char * to_string(EventType type)
Perform a software or hardware reset (MessageType::RESET_REQUEST, version 1.0).
EventType type
The type of event that occurred.
static constexpr uint8_t MESSAGE_VERSION
uint8_t hw_version_length
The length of the hardware version string (in bytes).
uint32_t source_seq_number
The sequence number of the command that triggered this response.
static constexpr uint32_t RESET_CONFIG
Clear all configuration data.
static constexpr MessageType MESSAGE_TYPE
char * event_description[0]
This is a dummy entry to provide a pointer to this offset.
static constexpr uint8_t MESSAGE_VERSION
static constexpr MessageType MESSAGE_TYPE
static constexpr uint32_t COLD_START
Perform a device cold start: reset the navigation engine including saved position,...
int64_t system_time_ns
The current system timestamp (in ns).
static constexpr MessageType MESSAGE_TYPE
uint8_t engine_version_length
The length of the FusionEngine version string (in bytes).
static constexpr uint32_t RESET_CORRECTIONS
Delete all GNSS corrections information.
static constexpr uint8_t MESSAGE_VERSION
static constexpr uint8_t MESSAGE_VERSION
static constexpr MessageType MESSAGE_TYPE
@ VALUE_ERROR
One or more values in the command were not in acceptable ranges (e.g., An undefined enum value,...
Response to indicate if command was processed successfully (MessageType::COMMAND_RESPONSE,...
Point One FusionEngine output message common definitions.
char fw_version_str[0]
The beginning of the firmware version string.
uint32_t reset_mask
Bit mask of functionality to reset.
@ EVENT_NOTIFICATION
EventNotificationMessage
static constexpr uint32_t RESET_EPHEMERIS
Delete all saved satellite ephemeris.
static constexpr uint32_t RESET_POSITION_DATA
Reset the navigation engine's estimate of position, velocity, and orientation.
MessageType message_type
The desired message type.
@ MESSAGE_REQUEST
MessageRequest
@ EXECUTION_FAILURE
There was a runtime failure executing the command.
@ UNSUPPORTED_CMD_VERSION
A version specified in the command or subcommand could not be handled.