Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete WHEEL_SPEED WheelSensorType enum #258

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading