Go to the documentation of this file.
17 namespace fusion_engine {
108 return "GNSS Satellite";
111 return "Pose Auxiliary";
114 return "Calibration Status";
117 return "Relative ENU Position";
121 return "IMU Measurement";
124 return "Heading Measurement";
127 return "Wheel Speed Measurement";
130 return "Vehicle Speed Measurement";
133 return "Wheel Tick Measurement";
136 return "Vehicle Tick Measurement";
150 return "Command Response";
153 return "Message Transmission Request";
156 return "Reset Request";
159 return "Version Information";
162 return "Event Notification";
165 return "Shutdown Request";
168 return "Fault Control";
171 return "Set Configuration Parameter";
174 return "Get Configuration Parameter";
177 return "Save Configuration";
180 return "Configuration Parameter Value";
183 return "Set Message Rate";
186 return "Get Message Rate";
189 return "Message Rate Response";
192 return "Import Data To Device";
195 return "Export Data From Device";
198 return "Platform Data Contents";
201 return "Unrecognized Message";
210 stream <<
to_string(type) <<
" (" << (int)type <<
")";
225 switch (message_type) {
254 switch (message_type) {
323 return "Unsupported Command Version";
325 return "Unsupported Feature";
327 return "Value Error";
329 return "Insufficient Space";
331 return "Execution Failure";
333 return "Inconsistent Payload Length";
335 return "Data Corrupted";
337 return "No Data Stored";
339 return "Device Unavailable";
341 return "Unrecognized";
349 stream <<
to_string(val) <<
" (" << (int)val <<
")";
398 return "Stand Alone GNSS";
401 return "Differential GNSS";
404 return "Fixed RTK GNSS";
407 return "Real-valued Ambiguity RTK GNSS";
410 return "Dead Reckoning";
413 return "Visual Navigation";
419 return "Unrecognized Solution Type";
428 stream <<
to_string(type) <<
" (" << (int)type <<
")";
442 static constexpr uint32_t
INVALID = 0xFFFFFFFF;
462 static constexpr uint8_t
SYNC0 = 0x2E;
463 static constexpr uint8_t
SYNC1 = 0x31;
475 uint8_t reserved[2] = {0};
@ IMPORT_DATA
ImportDataMessage
@ MAX_VALUE
The maximum defined MessageType enum value.
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.
@ COMMAND_RESPONSE
CommandResponseMessage
@ SHUTDOWN_REQUEST
ShutdownRequest
@ UNAVAILABLE
The device is in a state where it can't process the command.
@ GNSS_INFO
GNSSInfoMessage
@ INCONSISTENT_PAYLOAD_LENGTH
The header payload_size_bytes is in conflict with the size of the message based on its type and type ...
@ ROS_GPS_FIX
ros::GPSFixMessage
@ ROS_POSE
ros::PoseMessage
@ INVALID
Invalid message type.
@ VEHICLE_TICK_MEASUREMENT
VehicleTickMeasurement
@ VEHICLE_SPEED_MEASUREMENT
VehicleSpeedMeasurement
@ 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.
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,...
@ IMU_MEASUREMENT
IMUMeasurement
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).
@ WHEEL_SPEED_MEASUREMENT
WheelSpeedMeasurement
@ 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.
@ EXECUTION_FAILURE
There was a runtime failure executing the command.
@ Visual
Using vision measurements.
P1_CONSTEXPR_FUNC const char * to_string(ConfigType type)
Get a human-friendly string name for the specified ConfigType.
static constexpr uint32_t INVALID
@ GET_MESSAGE_RATE
GetMessageRate
Response
Command response status indicators.
@ NO_DATA_STORED
The requested data isn't available.
@ EXPORT_DATA
ExportDataMessage
uint32_t seconds
The number of full seconds since the epoch.
@ WHEEL_TICK_MEASUREMENT
WheelTickMeasurement
@ SET_MESSAGE_RATE
SetMessageRate
uint32_t fraction_ns
The fractional part of the second, expressed in nanoseconds.
#define P1_CONSTEXPR_FUNC
@ GET_CONFIG
GetConfigMessage
@ RELATIVE_ENU_POSITION
RelativeENUPositionMessage
@ SET_CONFIG
SetConfigMessage
std::ostream & operator<<(std::ostream &stream, ConfigType type)
ConfigType stream operator.
@ HEADING_MEASUREMENT
HeadingMeasurement
@ EVENT_NOTIFICATION
EventNotificationMessage
Generic timestamp representation.
@ PLATFORM_STORAGE_DATA
PlatformStorageDataMessage
@ 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
@ CONFIG_RESPONSE
ConfigResponseMessage