Skip to content

Commit

Permalink
Delete WHEEL_SPEED WheelSensorType enum
Browse files Browse the repository at this point in the history
  • Loading branch information
wbrannon committed Sep 18, 2023
1 parent d1fcc4b commit 8f6104e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/fusion_engine_client/messages/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 1 addition & 5 deletions src/point_one/fusion_engine/messages/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand All @@ -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";
}
Expand Down

0 comments on commit 8f6104e

Please sign in to comment.