diff --git a/src/point_one/fusion_engine/messages/defs.h b/src/point_one/fusion_engine/messages/defs.h index 211cc741..c23d1549 100644 --- a/src/point_one/fusion_engine/messages/defs.h +++ b/src/point_one/fusion_engine/messages/defs.h @@ -306,9 +306,40 @@ P1_CONSTEXPR_FUNC bool IsCommand(MessageType message_type) { case MessageType::SET_MESSAGE_RATE: case MessageType::GET_MESSAGE_RATE: return true; - default: + case MessageType::POSE: + case MessageType::GNSS_INFO: + case MessageType::GNSS_SATELLITE: + case MessageType::POSE_AUX: + case MessageType::CALIBRATION_STATUS: + case MessageType::RELATIVE_ENU_POSITION: + case MessageType::SYSTEM_STATUS: + case MessageType::IMU_OUTPUT: + case MessageType::RAW_HEADING_OUTPUT: + case MessageType::RAW_IMU_OUTPUT: + case MessageType::HEADING_OUTPUT: + case MessageType::IMU_INPUT: + case MessageType::DEPRECATED_WHEEL_SPEED_MEASUREMENT: + case MessageType::DEPRECATED_VEHICLE_SPEED_MEASUREMENT: + case MessageType::WHEEL_TICK_INPUT: + case MessageType::VEHICLE_TICK_INPUT: + case MessageType::WHEEL_SPEED_INPUT: + case MessageType::VEHICLE_SPEED_INPUT: + case MessageType::RAW_WHEEL_TICK_OUTPUT: + case MessageType::RAW_VEHICLE_TICK_OUTPUT: + case MessageType::RAW_WHEEL_SPEED_OUTPUT: + case MessageType::RAW_VEHICLE_SPEED_OUTPUT: + case MessageType::WHEEL_SPEED_OUTPUT: + case MessageType::VEHICLE_SPEED_OUTPUT: + case MessageType::ROS_POSE: + case MessageType::ROS_GPS_FIX: + case MessageType::ROS_IMU: + case MessageType::CONFIG_RESPONSE: + case MessageType::PLATFORM_STORAGE_DATA: + case MessageType::MESSAGE_RATE_RESPONSE: + case MessageType::SUPPORTED_IO_INTERFACES: return false; } + return false; } /**