Go to the documentation of this file.
16 namespace fusion_engine {
138 return "GNSS Satellite";
141 return "Pose Auxiliary";
144 return "Calibration Status";
147 return "Relative ENU Position";
151 return "System Status";
158 return "Raw GNSS Heading Output";
161 return "Raw IMU Output";
164 return "GNSS Heading Output";
170 return "GNSS Attitude Output";
173 return "Raw GNSS Attitude Output";
176 return "Wheel Speed Measurement";
179 return "Vehicle Speed Measurement";
182 return "Wheel Tick Input";
185 return "Vehicle Tick Input";
188 return "Wheel Speed Input";
191 return "Vehicle Speed Input";
194 return "Raw Wheel Tick Output";
197 return "Raw Vehicle Tick Output";
200 return "Raw Wheel Speed Output";
203 return "Raw Vehicle Speed Output";
206 return "Wheel Speed Output";
209 return "Vehicle Speed Output";
223 return "Command Response";
226 return "Message Transmission Request";
229 return "Reset Request";
232 return "Version Information";
235 return "Event Notification";
238 return "Shutdown Request";
241 return "Startup Request";
244 return "Device ID Information";
247 return "Fault Control";
250 return "Set Configuration Parameter";
253 return "Get Configuration Parameter";
256 return "Save Configuration";
259 return "Configuration Parameter Value";
262 return "Set Message Rate";
265 return "Get Message Rate";
268 return "Supported IO Interfaces";
271 return "Message Rate Response";
274 return "Import Data To Device";
277 return "Export Data From Device";
280 return "Platform Data Contents";
283 return "Wrapped Input Data";
286 return "L-band Frame Contents";
289 return "STA5635 Command";
292 return "STA5635 Command Response";
295 return "STA5635 IQ Data";
297 return "Unrecognized Message";
305 stream <<
to_string(type) <<
" (" << (int)type <<
")";
320 switch (message_type) {
394 switch (message_type) {
469 return "Unsupported Command Version";
471 return "Unsupported Feature";
473 return "Value Error";
475 return "Insufficient Space";
477 return "Execution Failure";
479 return "Inconsistent Payload Length";
481 return "Data Corrupted";
483 return "No Data Stored";
485 return "Device Unavailable";
487 return "Unsupported Interface";
489 return "Unrecognized";
496 stream <<
to_string(val) <<
" (" << (int)val <<
")";
545 return "Stand Alone GNSS";
548 return "Differential GNSS";
551 return "Fixed RTK GNSS";
554 return "Real-valued Ambiguity RTK GNSS";
557 return "Dead Reckoning";
560 return "Visual Navigation";
566 return "Unrecognized Solution Type";
575 stream <<
to_string(type) <<
" (" << (int)type <<
")";
589 static constexpr uint32_t
INVALID = 0xFFFFFFFF;
609 static constexpr uint8_t SYNC0 = 0x2E;
610 static constexpr uint8_t SYNC1 = 0x31;
612 static constexpr uint32_t INVALID_SOURCE_ID = 0xFFFFFFFF;
617 static const size_t MAX_MESSAGE_SIZE_BYTES = (1 << 24);
620 uint8_t sync[2] = {SYNC0, SYNC1};
622 uint8_t reserved[2] = {0};
635 uint8_t protocol_version = 2;
640 uint8_t message_version = 0;
646 uint32_t sequence_number = 0;
649 uint32_t payload_size_bytes = 0;
652 uint32_t source_identifier = INVALID_SOURCE_ID;
@ RAW_VEHICLE_SPEED_OUTPUT
RawVehicleSpeedOutput
@ IMPORT_DATA
ImportDataMessage
@ MAX_VALUE
The maximum defined MessageType enum value.
@ STA5635_COMMAND
STA5635Command
MessageType
Identifiers for the defined output message types.
Library portability helper definitions.
@ RTKFloat
GNSS RTK solution with floating point carrier phase ambiguities.
SolutionType
Navigation solution type definitions.
P1_CONSTEXPR_FUNC const char * to_string(ConfigType type)
Get a human-friendly string name for the specified ConfigType.
@ COMMAND_RESPONSE
CommandResponseMessage
@ DEVICE_ID
DeviceIDMessage
@ SHUTDOWN_REQUEST
ShutdownRequest
@ UNAVAILABLE
The device is in a state where it can't process the command.
@ RAW_VEHICLE_TICK_OUTPUT
RawVehicleTickOutput
@ DEPRECATED_WHEEL_SPEED_MEASUREMENT
DeprecatedWheelSpeedMeasurement
@ GNSS_INFO
GNSSInfoMessage
@ SUPPORTED_IO_INTERFACES
SupportedIOInterfacesMessage
@ INPUT_DATA_WRAPPER
InputDataWrapperMessage
@ INCONSISTENT_PAYLOAD_LENGTH
The header payload_size_bytes is in conflict with the size of the message based on its type and type ...
@ STA5635_IQ_DATA
STA5635IQData
@ ROS_GPS_FIX
ros::GPSFixMessage
@ ROS_POSE
ros::PoseMessage
@ RAW_WHEEL_SPEED_OUTPUT
RawWheelSpeedOutput
@ SYSTEM_STATUS
SystemStatusMessage
@ INVALID
Invalid message type.
@ DGPS
Differential GNSS pseudorange solution using a local RTK base station or SSR or SBAS corrections.
@ MESSAGE_RATE_RESPONSE
MessageRateResponse
@ SAVE_CONFIG
SaveConfigMessage
@ CALIBRATION_STATUS
CalibrationStatusMessage
@ GNSS_SATELLITE
GNSSSatelliteMessage
@ AutonomousGPS
Standalone GNSS fix, no GNSS corrections data used.
P1_CONSTEXPR_FUNC bool IsResponse(MessageType message_type)
Check if the specified message type is a response to a user command.
@ LBAND_FRAME
LBandFrameMessage
@ DEPRECATED_VEHICLE_SPEED_MEASUREMENT
DeprecatedVehicleSpeedMeasurement
The base class for all message payloads.
@ VALUE_ERROR
One or more values in the command were not in acceptable ranges (e.g., An undefined enum value,...
@ STA5635_COMMAND_RESPONSE
STA5635CommandResponse
P1_CONSTEXPR_FUNC bool IsCommand(MessageType message_type)
Check if the specified message type is a user command.
@ RESET_REQUEST
ResetRequest
@ RTKFixed
GNSS RTK solution with fixed integer carrier phase ambiguities (one or more signals fixed).
@ VERSION_INFO
VersionInfoMessage
@ Invalid
Invalid, no position available.
GNSS signal and frequency type definitions.
@ Integrate
Integrated position using dead reckoning.
@ UNSUPPORTED_CMD_VERSION
A version specified in the command or subcommand could not be handled.
@ GNSS_ATTITUDE_OUTPUT
GNSSAttitudeOutput
@ EXECUTION_FAILURE
There was a runtime failure executing the command.
@ DEPRECATED_RAW_HEADING_OUTPUT
@ RAW_GNSS_ATTITUDE_OUTPUT
RawGNSSAttitudeOutput
@ Visual
Using vision measurements.
@ RAW_IMU_OUTPUT
RawIMUOutput
@ DEPRECATED_HEADING_OUTPUT
@ GET_MESSAGE_RATE
GetMessageRate
@ UNSUPPORTED_INTERFACE
An interface specified in the command is invalid, or unsupported on the target device.
Response
Command response status indicators.
@ NO_DATA_STORED
The requested data isn't available.
@ EXPORT_DATA
ExportDataMessage
@ VEHICLE_SPEED_INPUT
VehicleSpeedInput
p1_ostream & operator<<(p1_ostream &stream, ConfigType type)
ConfigType stream operator.
@ WHEEL_SPEED_INPUT
WheelSpeedInput
@ SET_MESSAGE_RATE
SetMessageRate
@ WHEEL_SPEED_OUTPUT
WheelSpeedOutput
@ RAW_WHEEL_TICK_OUTPUT
RawWheelTickOutput
#define P1_CONSTEXPR_FUNC
@ VEHICLE_SPEED_OUTPUT
VehicleSpeedOutput
@ VEHICLE_TICK_INPUT
VehicleTickInput
@ GET_CONFIG
GetConfigMessage
@ RELATIVE_ENU_POSITION
RelativeENUPositionMessage
@ SET_CONFIG
SetConfigMessage
@ EVENT_NOTIFICATION
EventNotificationMessage
Generic timestamp representation.
@ PLATFORM_STORAGE_DATA
PlatformStorageDataMessage
@ STARTUP_REQUEST
StartupRequest
@ INSUFFICIENT_SPACE
The command would require adding too many elements to an internal storage.
@ PPP
GNSS precise point positioning (PPP) pseudorange/carrier phase solution.
@ DATA_CORRUPTED
Requested data was corrupted and not available.
@ MESSAGE_REQUEST
MessageRequest
@ UNSUPPORTED_FEATURE
The command interacts with a feature that is not present on the target device (e.g....
@ FAULT_CONTROL
FaultControlMessage
@ WHEEL_TICK_INPUT
WheelTickInput
@ CONFIG_RESPONSE
ConfigResponseMessage