From 8f6104e53a38e1d83aacff3fa8927ce53829b6ac Mon Sep 17 00:00:00 2001 From: William Brannon Date: Sun, 17 Sep 2023 20:57:38 -0600 Subject: [PATCH] Delete WHEEL_SPEED WheelSensorType enum --- python/fusion_engine_client/messages/configuration.py | 2 +- src/point_one/fusion_engine/messages/configuration.h | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/python/fusion_engine_client/messages/configuration.py b/python/fusion_engine_client/messages/configuration.py index a25d6e78..7903d707 100644 --- a/python/fusion_engine_client/messages/configuration.py +++ b/python/fusion_engine_client/messages/configuration.py @@ -112,7 +112,7 @@ class WheelSensorType(IntEnum): NONE = 0, TICK_RATE = 1, TICKS = 2, - WHEEL_SPEED = 3, + UNUSED = 3, VEHICLE_SPEED = 4, VEHICLE_TICKS = 5 diff --git a/src/point_one/fusion_engine/messages/configuration.h b/src/point_one/fusion_engine/messages/configuration.h index 1259d529..474fa6e4 100644 --- a/src/point_one/fusion_engine/messages/configuration.h +++ b/src/point_one/fusion_engine/messages/configuration.h @@ -867,8 +867,7 @@ enum class WheelSensorType : uint8_t { * ticks. * */ TICKS = 2, - /** Individual wheel speeds, reported in meters/second. */ - WHEEL_SPEED = 3, + UNUSED = 3, /** A single value indicating the vehicle speed (in meters/second). */ VEHICLE_SPEED = 4, /** A single wheel rotational angle, reported as accumulated encoder ticks. */ @@ -895,9 +894,6 @@ P1_CONSTEXPR_FUNC const char* to_string(WheelSensorType wheel_sensor_type) { case WheelSensorType::TICKS: { return "Ticks"; } - case WheelSensorType::WHEEL_SPEED: { - return "Wheel Speed"; - } case WheelSensorType::VEHICLE_SPEED: { return "Vehicle Speed"; }