From 1fed2c5a38fed8bc91bb6b8a08982303eb9c2e82 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Wed, 6 Feb 2019 17:12:28 +0900 Subject: Change steering to systemd service for ces2019 Change steering to systemd service for ces2019 Change-Id: I319fb56a302f4f980b43a1b90dee1f36820355fb Signed-off-by: zheng_wenlong --- conf/files/etc/steering_wheel_map.json | 84 ++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 conf/files/etc/steering_wheel_map.json (limited to 'conf/files/etc/steering_wheel_map.json') diff --git a/conf/files/etc/steering_wheel_map.json b/conf/files/etc/steering_wheel_map.json new file mode 100644 index 0000000..86fbd7c --- /dev/null +++ b/conf/files/etc/steering_wheel_map.json @@ -0,0 +1,84 @@ +{ + "PROPERTYS" : [ + { + "PROPERTY" : "VehicleSpeed", + "TYPE" : "uint16_t", + "CANID" : "3E9", + "BIT_POSITION" : "0", + "BIT_SIZE" : "15", + "DLC" : "8" + }, + { + "PROPERTY" : "EngineSpeed", + "TYPE" : "uint16_t", + "CANID" : "3D9", + "BIT_POSITION" : "16", + "BIT_SIZE" : "16", + "DLC" : "8" + }, + { + "PROPERTY" : "AcceleratorPedalPosition", + "TYPE" : "uint16_t", + "CANID" : "5D1", + "BIT_POSITION" : "16", + "BIT_SIZE" : "8", + "DLC" : "8" + }, + { + "PROPERTY" : "TransmissionGearInfo", + "TYPE" : "uint16_t", + "CANID" : "5D2", + "BIT_POSITION" : "20", + "BIT_SIZE" : "4", + "DLC" : "8" + }, + { + "PROPERTY" : "TransmissionMode", + "TYPE" : "uint16_t", + "CANID" : "5D2", + "BIT_POSITION" : "16", + "BIT_SIZE" : "4", + "DLC" : "8" + }, + { + "PROPERTY" : "SteeringWheelAngle", + "TYPE" : "uint16_t", + "CANID" : "5D1", + "BIT_POSITION" : "4", + "BIT_SIZE" : "12", + "DLC" : "8" + }, + { + "PROPERTY" : "TurnSignalStatus", + "TYPE" : "uint16_t", + "CANID" : "5D3", + "BIT_POSITION" : "26", + "BIT_SIZE" : "3", + "DLC" : "8" + }, + { + "PROPERTY" : "LightStatusBrake", + "TYPE" : "bool", + "CANID" : "5D3", + "BIT_POSITION" : "7", + "BIT_SIZE" : "1", + "DLC" : "8" + }, + { + "PROPERTY" : "ParkingStatusBrake", + "TYPE" : "bool", + "CANID" : "5D3", + "BIT_POSITION" : "8", + "BIT_SIZE" : "1", + "DLC" : "8" + }, + { + "PROPERTY" : "FuelLevel", + "TYPE" : "uint16_t", + "CANID" : "3D9", + "BIT_POSITION" : "8", + "BIT_SIZE" : "8", + "DLC" : "8" + } + ] +} -- cgit 1.2.3-korg