Skip to content

Commit

Permalink
Add new entries to VehicleModel
Browse files Browse the repository at this point in the history
  • Loading branch information
wbrannon committed Oct 31, 2023
1 parent 99ba145 commit 9fadf27
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/fusion_engine_client/messages/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ class VehicleModel(IntEnum):

LINCOLN_MKZ = 180,

BMW_7 = 200
BMW_7 = 200,
BMW_MOTORRAD = 201,

VW_4 = 220,

RIVIAN = 240


class WheelSensorType(IntEnum):
Expand Down
11 changes: 11 additions & 0 deletions src/point_one/fusion_engine/messages/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,11 @@ enum class VehicleModel : uint16_t {
LINCOLN_MKZ = 180,

BMW_7 = 200,
BMW_MOTORRAD = 201,

VW_4 = 220,

RIVIAN = 240,
};

/**
Expand Down Expand Up @@ -817,6 +822,12 @@ P1_CONSTEXPR_FUNC const char* to_string(VehicleModel vehicle_model) {
return "LINCOLN_MKZ";
case VehicleModel::BMW_7:
return "BMW_7";
case VehicleModel::BMW_MOTORRAD:
return "BMW_MOTORRAD";
case VehicleModel::VW_4:
return "VW_4";
case VehicleModel::RIVIAN:
return "RIVIAN";
default:
return "UNRECOGNIZED";
}
Expand Down

0 comments on commit 9fadf27

Please sign in to comment.