diff --git a/README.md b/README.md index 3594b49..6ade08a 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Projects using `gophercan-lib` should include a `GopherCAN_config.h` header: // if defined, messages received with a different destination module (29-bit ID) will be retransmitted // this can be used to pass messages between unconnected modules -#define ENABLE_ROUTING +// #define ENABLE_ROUTING #endif ``` diff --git a/network_autogen/autogen.py b/network_autogen/autogen.py index 6c3fb33..b593eb2 100644 --- a/network_autogen/autogen.py +++ b/network_autogen/autogen.py @@ -21,18 +21,6 @@ "FLOATING" : "FLOAT_CAN_STRUCT" } -type_names = { - "UNSIGNED8" : "UINT_8", - "UNSIGNED16" : "UINT_16", - "UNSIGNED32" : "UINT_32", - "UNSIGNED64" : "UINT_64", - "SIGNED8" : "SINT_8", - "SIGNED16" : "SINT_16", - "SIGNED32" : "SINT_32", - "SIGNED64" : "SINT_64", - "FLOATING" : "FLOAT" -} - filenames = [ 'GopherCAN_network.h', 'GopherCAN_network.c' diff --git a/network_autogen/configs/can_tester.yaml b/network_autogen/configs/can_tester.yaml new file mode 100644 index 0000000..88d36f8 --- /dev/null +++ b/network_autogen/configs/can_tester.yaml @@ -0,0 +1,344 @@ +buses: + - GCAN0 + - GCAN1 + - GCAN2 + +modules: + PLM: + id: 1 + buses: + - GCAN0 + - GCAN1 + - GCAN2 + DAM_FR: + id: 2 + buses: + - GCAN0 + DAM_RL: + id: 3 + buses: + - GCAN1 + DAM_RR: + id: 4 + buses: + - GCAN2 + PDM: + id: 5 + buses: + - GCAN0 + TCM: + id: 6 + buses: + - GCAN1 + ACM: + id: 7 + buses: + - GCAN0 + +parameters: + u8_tester: + id: 1 + motec_name: U8 Tester + unit: number + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + u16_tester: + id: 2 + motec_name: U16 Tester + unit: number + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + u32_tester: + id: 3 + motec_name: U32 Tester + unit: number + type: UNSIGNED32 + encoding: MSB + scale: 1 + offset: 0 + + u64_tester: + id: 4 + motec_name: U64 Tester + unit: number + type: UNSIGNED64 + encoding: MSB + scale: 1 + offset: 0 + + s8_tester: + id: 5 + motec_name: S8 Tester + unit: number + type: SIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + s16_tester: + id: 6 + motec_name: S16 Tester + unit: number + type: SIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + s32_tester: + id: 7 + motec_name: S32 Tester + unit: number + type: SIGNED32 + encoding: MSB + scale: 1 + offset: 0 + + s64_tester: + id: 8 + motec_name: S64 Tester + unit: number + type: SIGNED64 + encoding: MSB + scale: 1 + offset: 0 + + # 8 bit, [0-25.5] + float_tester: + id: 9 + motec_name: Float Tester 1 + unit: number + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # 16 bit, [0-655.35] + float_tester_2: + id: 10 + motec_name: Float Tester 2 + unit: number + type: FLOATING + encoding: MSB + scale: 0.01 + offset: 0 + + # 16 bit, [0-65.535] + float_tester_3: + id: 11 + motec_name: Float Tester 3 + unit: number + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # 32 bit, [0-429496.7296] (floats are not this precise) + float_tester_4: + id: 12 + motec_name: Float Tester 4 + unit: number + type: FLOATING + encoding: MSB + scale: 0.0001 + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_1: + id: 13 + motec_name: DAM Channel 1 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_2: + id: 14 + motec_name: DAM Channel 2 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_3: + id: 15 + motec_name: DAM Channel 3 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_4: + id: 16 + motec_name: DAM Channel 4 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_5: + id: 17 + motec_name: DAM Channel 5 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_6: + id: 18 + motec_name: DAM Channel 6 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_7: + id: 19 + motec_name: DAM Channel 7 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_8: + id: 20 + motec_name: DAM Channel 8 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_9: + id: 21 + motec_name: DAM Channel 9 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + dam_chan_10: + id: 22 + motec_name: DAM Channel 10 + unit: mm + type: FLOATING + encoding: MSB + scale: 0.000762939453125 # [0-50] -> [0-65535] + offset: 0 + + # 0-50 (sending mm from pot onto 16bit number) + lapBeacon_ul: + id: 23 + motec_name: Lap Beacon Test + unit: mm + type: FLOATING + encoding: MSB + scale: 1 + offset: 0 + +groups: [ + { + id: 0x1, + parameters: [ + {name: u8_tester, start: 0, length: 1}, + {name: u16_tester, start: 1, length: 2}, + {name: u32_tester, start: 3, length: 4} + ] + }, + { + id: 0x2, + parameters: [ + {name: u64_tester, start: 0, length: 8} + ] + }, + { + id: 0x3, + parameters: [ + {name: s8_tester, start: 0, length: 1}, + {name: s16_tester, start: 1, length: 2}, + {name: s32_tester, start: 3, length: 4} + ] + }, + { + id: 0x4, + parameters: [ + {name: s64_tester, start: 0, length: 8} + ] + }, + { + id: 0x5, + parameters: [ + {name: float_tester, start: 0, length: 1}, + {name: float_tester_2, start: 1, length: 2}, + {name: float_tester_3, start: 3, length: 2} + ] + }, + { + id: 0x6, + parameters: [ + {name: float_tester_4, start: 0, length: 4} + ] + }, + { + id: 0x7, + parameters: [ + {name: dam_chan_1, start: 0, length: 2}, + {name: dam_chan_2, start: 2, length: 2}, + {name: dam_chan_3, start: 4, length: 2}, + {name: dam_chan_4, start: 6, length: 2} + ] + }, + { + id: 0x8, + parameters: [ + {name: dam_chan_5, start: 0, length: 2}, + {name: dam_chan_6, start: 2, length: 2}, + {name: dam_chan_7, start: 4, length: 2}, + {name: dam_chan_8, start: 6, length: 2} + ] + }, + { + id: 0x9, + parameters: [ + {name: dam_chan_9, start: 0, length: 2}, + {name: dam_chan_10, start: 2, length: 2}, + {name: lapBeacon_ul, start: 2, length: 2} + ] + } +] + +commands: + 0: SET_LED_STATE # args: (LED state, _, _, _) + 1: SET_RTC_TIME # args: (hour, min, sec, _) + 2: SET_RTC_DATE # args: (year, month, day, weekday) + 3: LOG_COMPLETE # args: (_, _, _, _) + +errors: + 0: ID_NOT_FOUND + 1: COMMAND_ID_NOT_FOUND + 2: PARAM_NOT_ENABLED + 3: SIZE_ERROR + 4: DATATYPE_NOT_FOUND + 5: COMMAND_NOT_ENABLED diff --git a/network_autogen/configs/dyno-can-config.yaml b/network_autogen/configs/dyno-can-config.yaml new file mode 100644 index 0000000..a66f389 --- /dev/null +++ b/network_autogen/configs/dyno-can-config.yaml @@ -0,0 +1,642 @@ +buses: + - GCAN0 + - GCAN1 + - GCAN2 + +modules: + # this is probably the 2022 DLM but this makes it work better with all the + # code that expects a PLM to be there + PLM: + id: 1 + buses: + - GCAN0 + - GCAN1 + - GCAN2 + DAM: + id: 2 + buses: + - GCAN0 + SH_TEMPS: + id: 3 + buses: + - GCAN0 + SH_PRESSURES: + id: 4 + buses: + - GCAN0 + # ECU is also on GCAN0, but is not a GCAN module + +parameters: + # ECU Sensors: + # all are sent on the bus as S16s (MSB) and encoded in GCAN as a float + engineRPM_rpm: + id: 1 + motec_name: Engine RPM + unit: rpm + type: FLOATING + encoding: MSB + scale: 1 + offset: 0 + + throttlePos_percent: + id: 2 + motec_name: Throttle Pos + unit: "%" + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + engineTemp_C: + id: 3 + motec_name: Engine Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + oilTemp_C: + id: 4 + motec_name: Eng Oil Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + oilPressure_kPa: + id: 5 + motec_name: Eng Oil Pres + unit: kPa + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + manifoldPressure_kPa: + id: 6 + motec_name: Manifold Pres + unit: kPa + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + manifoldTemp_C: + id: 7 + motec_name: Air Temp Inlet + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + fuelPressure_kPa: + id: 8 + motec_name: Fuel Pres + unit: kPa + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + lambda1_LA: + id: 9 + motec_name: Lambda 1 + unit: LA + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # User channel 1 + waterFlowRate_LPerMin: + id: 10 + motec_name: Water Flow Rate + unit: L/min + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # User channel 2 + fuelFlowRate_LPerMin: + id: 11 + motec_name: Fuel Flow Rate + unit: L/min + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # User channel 3 + dynoTorque_V: + id: 12 + motec_name: Dyno Torque + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # Internal ECU Parameters: + batteryVoltage_V: + id: 13 + motec_name: Battery Volts + unit: V + type: FLOATING + encoding: MSB + scale: 0.01 + offset: 0 + + ecu5VEng_V: + id: 14 + motec_name: ECU 5V Eng Volts + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + ecu5VAux_V: + id: 15 + motec_name: ECU 5V Aux Volts + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + ecuTemp_C: + id: 16 + motec_name: ECU Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + aimLambda1_LA: + id: 17 + motec_name: Aim Lambda 1 + unit: LA + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + fuelCutLevel_percent: + id: 18 + motec_name: Fuel Cut Level + unit: "%" + type: FLOATING + encoding: MSB + scale: 0.392157 + offset: 0 + + ignCutLevel_percent: + id: 19 + motec_name: Ign Cut Level + unit: "%" + type: FLOATING + encoding: MSB + scale: 0.392157 + offset: 0 + + ignAdvance_degrees: + id: 20 + motec_name: Ign Advance + unit: dBTDC + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + fuelInjDuty_percent: + id: 21 + motec_name: Fuel Inj Duty + unit: "%" + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # Aux Output 5 + oilFanDuty_percent: + id: 22 + motec_name: Oil Fan Duty + unit: "%" + type: FLOATING + encoding: MSB + scale: 1 + offset: 0 + + # Aux Output 6 + waterPumpDuty_percent: + id: 23 + motec_name: Water Pump Duty + unit: "%" + type: FLOATING + encoding: MSB + scale: 1 + offset: 0 + + # additional sensors + crankTorque_Nm: + id: 24 + motec_name: Crank Torque + unit: Nm + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + oilRadTemp1_C: + id: 25 + motec_name: Oil Rad Temp 1 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + oilRadTemp2_C: + id: 26 + motec_name: Oil Rad Temp 2 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + waterTempBeforeOil_C: + id: 27 + motec_name: Water Temp Before Oil + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + waterTempAfterOil_C: + id: 28 + motec_name: Water Temp After Oil + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + waterTempBeforeHeatExchanger_C: + id: 29 + motec_name: Water Temp Before Heat Exchanger + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + waterTempAfterHeatExchanger_C: + id: 30 + motec_name: Water Temp After Heat Exchanger + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # Pressure Sensors + pressure1_psi: + id: 31 + motec_name: Oil Cooler Outlet Pressure + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + pressure2_psi: + id: 32 + motec_name: Oil Cooler Inlet Pressure + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + pressure3_psi: + id: 33 + motec_name: Heat Exchanger Inlet Pressure + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + pressure4_psi: + id: 34 + motec_name: Manifold Air Pressure + unit: kPa + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + pressure5_psi: + id: 35 + motec_name: Header Tank Outlet Pressure + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + pressure6_psi: + id: 36 + motec_name: Heat Exchanger Outlet Pressure + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + pressure7_psi: + id: 37 + motec_name: Engine Inlet Pressure + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + pressure8_psi: + id: 38 + motec_name: Unused Pressure Input + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # Temperature Sensors + temp1_C: + id: 39 + motec_name: Heat Exchanger Temp Out + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + temp2_C: + id: 40 + motec_name: Heat Exchanger Temp In + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + temp3_C: + id: 41 + motec_name: Engine Inlet Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + temp4_C: + id: 42 + motec_name: Oil Cooler Water In Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + temp5_C: + id: 43 + motec_name: Oil Cooler Water Out + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + temp6_C: + id: 44 + motec_name: Oil Temp Out + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + temp7_C: + id: 45 + motec_name: Engine Outlet Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + temp8_C: + id: 46 + motec_name: Oil Temp In + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # Flow Sensors + flowRate1_Hz: + id: 47 + motec_name: Building Flow + unit: Hz + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + flowRate2_Hz: + id: 48 + motec_name: Engine Flow + unit: Hz + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # Other + lapBeacon_ul: + id: 49 + motec_name: Lap Beacon (Placeholder) + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + loadcell_voltage: + id: 50 + motec_name: Load Cell + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + + +groups: [ + # High Frequency ECU (Custom Set 1) + { + id: 0x100, + parameters: [ + {name: engineRPM_rpm, start: 0, length: 2}, + {name: throttlePos_percent, start: 2, length: 2}, + {name: lambda1_LA, start: 4, length: 2}, + {name: dynoTorque_V, start: 6, length: 2} + ] + }, + { + id: 0x101, + parameters: [ + {name: aimLambda1_LA, start: 0, length: 2}, + {name: fuelCutLevel_percent, start: 2, length: 2}, + {name: ignCutLevel_percent, start: 4, length: 2}, + {name: ignAdvance_degrees, start: 6, length: 2} + ] + }, + { + id: 0x102, + parameters: [ + {name: fuelInjDuty_percent, start: 0, length: 2} + ] + }, + # Low Frequency ECU (Custom Set 2) + { + id: 0x200, + parameters: [ + {name: engineTemp_C, start: 0, length: 2}, + {name: oilTemp_C, start: 2, length: 2}, + {name: oilPressure_kPa, start: 4, length: 2}, + {name: manifoldPressure_kPa, start: 6, length: 2} + ] + }, + { + id: 0x201, + parameters: [ + {name: manifoldTemp_C, start: 0, length: 2}, + {name: fuelPressure_kPa, start: 2, length: 2}, + {name: waterFlowRate_LPerMin, start: 4, length: 2}, + {name: fuelFlowRate_LPerMin, start: 6, length: 2} + ] + }, + { + id: 0x202, + parameters: [ + {name: batteryVoltage_V, start: 0, length: 2}, + {name: ecu5VEng_V, start: 2, length: 2}, + {name: ecu5VAux_V, start: 4, length: 2}, + {name: ecuTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x203, + parameters: [ + {name: oilFanDuty_percent, start: 0, length: 2}, + {name: waterPumpDuty_percent, start: 2, length: 2}, + {name: crankTorque_Nm, start: 4, length: 2}, + {name: oilRadTemp1_C, start: 6, length: 2} + ] + }, + { + id: 0x204, + parameters: [ + {name: oilRadTemp2_C, start: 0, length: 2} + ] + }, + { + id: 0x600, + parameters: [ + {name: waterTempBeforeOil_C, start: 0, length: 2}, + {name: waterTempAfterOil_C, start: 2, length: 2}, + {name: waterTempBeforeHeatExchanger_C, start: 4, length: 2}, + {name: waterTempAfterHeatExchanger_C, start: 6, length: 2} + ] + }, + { + id: 0x601, + parameters: [ + {name: pressure1_psi, start: 0, length: 2}, + {name: pressure2_psi, start: 2, length: 2}, + {name: pressure3_psi, start: 4, length: 2}, + {name: pressure4_psi, start: 6, length: 2} + ] + }, + { + id: 0x602, + parameters: [ + {name: pressure5_psi, start: 0, length: 2}, + {name: pressure6_psi, start: 2, length: 2}, + {name: flowRate2_Hz, start: 4, length: 2} + ] + }, + { + id: 0x613, + parameters: [ + {name: pressure7_psi, start: 0, length: 2}, + {name: pressure8_psi, start: 2, length: 2}, + {name: loadcell_voltage, start: 4, length: 2} + ] + }, + { + id: 0x603, + parameters: [ + {name: temp1_C, start: 0, length: 2}, + {name: temp2_C, start: 2, length: 2} + ] + }, + { + id: 0x604, + parameters: [ + {name: temp3_C, start: 0, length: 2}, + {name: temp4_C, start: 2, length: 2}, + {name: temp5_C, start: 4, length: 2}, + {name: temp6_C, start: 6, length: 2} + ] + }, + { + id: 0x605, + parameters: [ + {name: temp7_C, start: 0, length: 2}, + {name: temp8_C, start: 2, length: 2}, + {name: flowRate1_Hz, start: 4, length: 2} + ] + }, + { + id: 0x700, + parameters: [ + {name: lapBeacon_ul, start: 0, length: 2} + ] + } +] + +commands: + 0: SET_LED_STATE # args: (LED state, _, _, _) + 1: SET_RTC_TIME # args: (hour, min, sec, _) + 2: SET_RTC_DATE # args: (year, month, day, weekday) + 3: LOG_COMPLETE # args: (_, _, _, _) + +errors: + 0: ID_NOT_FOUND + 1: COMMAND_ID_NOT_FOUND + 2: PARAM_NOT_ENABLED + 3: SIZE_ERROR + 4: DATATYPE_NOT_FOUND + 5: COMMAND_NOT_ENABLED diff --git a/network_autogen/configs/example.yaml b/network_autogen/configs/example.yaml index 5f271bd..f5d0fd9 100644 --- a/network_autogen/configs/example.yaml +++ b/network_autogen/configs/example.yaml @@ -19,6 +19,7 @@ modules: buses: - GCAN1 +# parameter types: UNSIGNED[8/16/32/64], SIGNED[8/16/32/64], FLOATING parameters: engineRPM: id: 1 @@ -63,8 +64,10 @@ groups: [ } ] +# each command accepts up to four arguments +# document expected arguments here for reference commands: - 0: SET_TIME # arguments: (hour, min, sec, _) + 0: SET_TIME # args: (hour, min, sec, _) errors: 0: ID_NOT_FOUND diff --git a/network_autogen/configs/go4-23c.yaml b/network_autogen/configs/go4-23c.yaml new file mode 100644 index 0000000..8f16f11 --- /dev/null +++ b/network_autogen/configs/go4-23c.yaml @@ -0,0 +1,1500 @@ +buses: + - GCAN0 + - GCAN1 + - GCAN2 + +modules: + PLM: + id: 1 + buses: + - GCAN0 + - GCAN1 + - GCAN2 + ECU: + id: 2 + buses: + - GCAN1 + SWM: + id: 3 + buses: + - GCAN1 + TCM: + id: 4 + buses: + - GCAN1 + SH_F: + id: 5 + buses: + - GCAN0 + SH_RL: + id: 6 + buses: + - GCAN2 + SH_RR: + id: 7 + buses: + - GCAN2 + Display: + id: 8 + buses: + - GCAN0 + - GCAN1 + IMU: + id: 9 + buses: + - GCAN0 + +parameters: + # ECU Sensors: + # all are sent on the bus as S16s (MSB) and encoded in GCAN as a float + engineRPM_rpm: + id: 1 + motec_name: Engine RPM + unit: rpm + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + engineTemp_C: + id: 2 + motec_name: Engine Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + oilPressure_kPa: + id: 3 + motec_name: Eng Oil Pres + unit: kPa + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + oilTemp_C: + id: 4 + motec_name: Eng Oil Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + throttlePos_percent: + id: 5 + motec_name: Throttle Pos + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + lambda1_LA: + id: 6 + motec_name: Lambda 1 + unit: LA + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + rightRadWaterTempOut_C: + id: 7 + motec_name: Right Rad Water Temp Out + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + engineInletTemp_C: + id: 8 + motec_name: Engine Inlet Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + engineOutletTemp_C: + id: 9 + motec_name: Engine Oulet Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # Internal ECU Parameters: + batteryVoltage_V: + id: 10 + motec_name: Battery Volts + unit: V + type: FLOATING + encoding: MSB + scale: 0.01 + offset: 0 + + ecu5VEng_V: + id: 11 + motec_name: ECU 5V Eng Volts + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + ecu5VAux_V: + id: 12 + motec_name: ECU 5V Aux Volts + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + ecuTemp_C: + id: 13 + motec_name: ECU Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + aimLambda1_LA: + id: 14 + motec_name: Aim Lambda 1 + unit: LA + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + fuelCutLevel_percent: + id: 15 + motec_name: Fuel Cut Level + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.392157 + offset: 0 + + ignCutLevel_percent: + id: 16 + motec_name: Ign Cut Level + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.392157 + offset: 0 + + ignAdvance_degrees: + id: 17 + motec_name: Ign Advance + unit: dBTDC + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + fuelInjDuty_percent: + id: 18 + motec_name: Fuel Inj Duty + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + # Aux Output 5 + oilFanDuty_percent: + id: 19 + motec_name: Rad Fan Duty + unit: '%' + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + # Aux Output 6 + waterPumpDuty_percent: + id: 20 + motec_name: Water Pump Duty + unit: '%' + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + # Aux Output 7 + warningLightDuty_percent: + id: 21 + motec_name: Warning Light Duty + unit: '%' + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + # Aux Output 8 + spartkCutLightDuty_percent: + id: 22 + motec_name: Spark Cut Light Duty + unit: '%' + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + # END ECU + # Display: + # sent over 0x700, latitude than longitude, each 32bit + gpsLatitude_deg: + id: 23 + motec_name: GPS Latitude + unit: deg + type: FLOATING + encoding: MSB + scale: 0.000021457672119140625 # [0-360] -> [0-16777216] + offset: 0 + + gpsLongitude_deg: + id: 24 + motec_name: GPS Longitude + unit: deg + type: FLOATING + encoding: MSB + scale: 0.000021457672119140625 # [0-360] -> [0-16777216] + offset: 0 + + gpsSpeed_mph: + id: 25 + motec_name: GPS Velocity + unit: mph + type: UNSIGNED16 + encoding: MSB + scale: 0.01 + offset: 0 + + gpsAltitude_ft: + id: 26 + motec_name: GPS Altitude + unit: ft + type: SIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + gpsCourse_deg: + id: 27 + motec_name: GPS Course + unit: deg + type: UNSIGNED16 + encoding: MSB + scale: 0.01 + offset: 0 + + gpsSatelliteCount_ul: + id: 28 + motec_name: GPS Satellite Count + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsValid_ul: + id: 29 + motec_name: GPS Satellite Count + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsYearUTC_ul: + id: 30 + motec_name: GPS Year UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsMonthUTC_ul: + id: 31 + motec_name: GPS Month UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsDayUTC_ul: + id: 32 + motec_name: GPS Day UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsHoursUTC_ul: + id: 33 + motec_name: GPS Hours UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsMinutesUTC_ul: + id: 34 + motec_name: GPS Minutes UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsSecondsUTC_ul: + id: 35 + motec_name: GPS Seconds UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END DISPLAY + # Transmission Controller Sensors: + shifterPosition_mm: + id: 36 + motec_name: Shifter Position + unit: mm + type: FLOATING + encoding: MSB + scale: 0.01220703125 # [0-50] -> [0-4096] + offset: 0 + + clutchPosition_mm: + id: 37 + motec_name: Clutch Position + unit: mm + type: FLOATING + encoding: MSB + scale: 0.01220703125 # [0-50] -> [0-4096] + offset: 0 + + gearPosition_mm: + id: 38 + motec_name: Gear Position + unit: mm + type: FLOATING + encoding: MSB + scale: 0.001220703125 # [0-5] -> [0-4096] + offset: 0 + + counterShaftSpeed_rpm: + id: 39 + motec_name: Counter Shaft Speed + unit: rpm + type: FLOATING + encoding: MSB + scale: 1 # designed to be sent on the bus as a U16 + offset: 0 + + # Transmission Controller Internal: + tcmTargetRPM_rpm: + id: 40 + motec_name: Target RPM + unit: rpm + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + tcmCurrentGear_state: + id: 41 + motec_name: Gear + unit: '' + type: FLOATING + encoding: MSB + scale: 1 + offset: 0 + + tcmCurrentlyMoving_state: + id: 42 + motec_name: Currently Moving + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmAntiStallActive_state: + id: 43 + motec_name: Anti Stall + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmUsingClutch_state: + id: 44 + motec_name: Using Clutch to Shift + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmShiftState_state: + id: 45 + motec_name: Shift State + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmTimeShiftOnly_state: + id: 46 + motec_name: Time Shifting Only + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmClutchlessDownshift_state: + id: 47 + motec_name: Clutchless Downshift + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmError_state: + id: 48 + motec_name: TCM Error + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmTargetGear_state: + id: 49 + motec_name: TCM Target Gear + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmSpkCut_state: + id: 50 + motec_name: TCM Spark Cut + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmSuccessfulShift_state: + id: 51 + motec_name: TCM Successful Shift + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + tcmNumShifts_ul: + id: 52 + motec_name: TCM Shifts + unit: '' + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + tcmNumSuccessfulShifts_ul: + id: 53 + motec_name: TCM Num Successful Shifts + unit: '' + type: UNSIGNED16 + encoding: MSB + scale: 1 + offset: 0 + # END TCM + + # Sensor Hub Front Sensors + brakePressureFront_psi: + id: 54 + motec_name: Brake Pres Front + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 # [0-2000] -> [0-20000] + offset: 0 + + brakePressureRear_psi: + id: 55 + motec_name: Brake Pres Rear + unit: psi + type: FLOATING + encoding: MSB + scale: 0.1 # [0-2000] -> [0-20000] + offset: 0 + + brakeTempFrontLeft_C: + id: 56 + motec_name: Brake Temp FL + unit: C + type: FLOATING + encoding: MSB + scale: 0.1953125 # [0-800] -> [0-4096] + offset: 0 + + brakeTempFrontRight_C: + id: 57 + motec_name: Brake Temp FR + unit: C + type: FLOATING + encoding: MSB + scale: 0.1953125 # [0-800] -> [0-4096] + offset: 0 + + steeringAngle_deg: + id: 58 + motec_name: Steered Angle + unit: deg + type: FLOATING + encoding: MSB + scale: 0.087890625 # [0-360] -> [0-4096] + offset: 0 + + shockPosFrontLeft_mm: + id: 59 + motec_name: Susp Pos FL + unit: mm + type: FLOATING + encoding: MSB + scale: 0.006103515625 # [0-25] -> [0-4096] + offset: 0 + + shockPosFrontRight_mm: + id: 60 + motec_name: Susp Pos FR + unit: mm + type: FLOATING + encoding: MSB + scale: 0.006103515625 # [0-25] -> [0-4096] + offset: 0 + + wheelSpeedFrontLeft_mph: + id: 61 + motec_name: Wheel Speed FL + unit: mph + type: FLOATING + encoding: MSB + scale: 0.1 # [0-150] -> [0-1500] + offset: 0 + + wheelSpeedFrontRight_mph: + id: 62 + motec_name: Wheel Speed FR + unit: mph + type: FLOATING + encoding: MSB + scale: 0.1 # [0-150] -> [0-1500] + offset: 0 + # END SENSOR HUB FRONT + # Sensor Hub Rear Left Sensors + fuelPressure_psi: + id: 63 + motec_name: Fuel Pres + unit: psi + type: FLOATING + encoding: MSB + scale: 0.0244140625 # [0-100] -> [0-4096] + offset: 0 + + exhaustTemp_C: + id: 64 + motec_name: Exhaust Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.23193359375 # [0-950] -> [0-4096] + offset: 0 + + leftRadWaterTempIn_C: + id: 65 + motec_name: Left Rad Water Temp In + unit: C + type: FLOATING + encoding: MSB + scale: 0.048828125 # [0-200] -> [0-4096] + offset: 0 + + leftRadWaterTempOut_C: + id: 66 + motec_name: Left Rad Water Temp Out + unit: C + type: FLOATING + encoding: MSB + scale: 0.048828125 # [0-200] -> [0-4096] + offset: 0 + + shockPosRearLeft_mm: + id: 67 + motec_name: Susp Pos RL + unit: mm + type: FLOATING + encoding: MSB + scale: 0.006103515625 # [0-25] -> [0-4096] + offset: 0 + + wheelSpeedRearLeft_mph: + id: 68 + motec_name: Wheel Speed RL + unit: mph + type: FLOATING + encoding: MSB + scale: 0.1 # [0-150] -> [0-1500] + offset: 0 + + # leftAuxPressure_psi: + # id: 68 + # motec_name: Left Aux Pressure + # unit: psi + # type: FLOATING + # encoding: MSB + # scale: 0.0244140625 # [0-100] -> [0-4096] + # offset: 0 + + leftShroudPitot_inH2O: + id: 69 + motec_name: Left Pitot + unit: inH2O + type: FLOATING + encoding: MSB + scale: 0.01 + offset: 0 + + leftFlowRate_GPerSec: + id: 70 + motec_name: Left Flow Rate + unit: g/s + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + leftFlowRateFreq_hz: + id: 71 + motec_name: Left Flow Rate Frequency + unit: hz + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + # END SENSOR HUB REAR LEFT + # Sensor Hub Rear Right Sensors + shockPosRearRight_mm: + id: 72 + motec_name: Susp Pos RR + unit: mm + type: FLOATING + encoding: MSB + scale: 0.006103515625 # [0-25] -> [0-4096] + offset: 0 + + wheelSpeedRearRight_mph: + id: 73 + motec_name: Wheel Speed RR + unit: mph + type: FLOATING + encoding: MSB + scale: 0.1 # [0-150] -> [0-1500] + offset: 0 + + manifoldPressure_kPa: + id: 74 + motec_name: Manifold Pres + unit: kPa + type: FLOATING + encoding: MSB + scale: 0.028076171875 # [0-115] -> [0-4096] + offset: 0 + + manifoldTemp_C: + id: 75 + motec_name: Air Temp Inlet + unit: C + type: FLOATING + encoding: MSB + scale: 0.048828125 # [0-200] -> [0-4096] + offset: 0 + + rightRadAirTempIn_C: + id: 76 + motec_name: Right Rad Air Temp In + unit: C + type: FLOATING + encoding: MSB + scale: 0.048828125 # [0-200] -> [0-4096] + offset: 0 + + rightRadAirPresIn_kPa: + id: 77 + motec_name: Right Rad Air Pressure In + unit: kPa + type: FLOATING + encoding: MSB + scale: 0.028076171875 # [0-115] -> [0-4096] + offset: 0 + + rightRadAirTempOut_C: + id: 78 + motec_name: Right Rad Air Temp Out + unit: C + type: FLOATING + encoding: MSB + scale: 0.048828125 # [0-200] -> [0-4096] + offset: 0 + + airTankPressure_psi: + id: 79 + motec_name: Air Tank Pressure + unit: psi + type: FLOATING + encoding: MSB + scale: 1.220703125 # [0-5000] -> [0-4096] + offset: 0 + + airLinePressure_psi: + id: 80 + motec_name: Air Line Pressure + unit: psi + type: FLOATING + encoding: MSB + scale: 0.0244140625 # [0-100] -> [0-4096] + offset: 0 + + rightAuxTemp_C: + id: 81 + motec_name: Right Aux Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.048828125 # [0-200] -> [0-4096] + offset: 0 + + rightShroudPitot_inH2O: + id: 82 + motec_name: Right Pitot + unit: inH2O + type: FLOATING + encoding: MSB + scale: 0.01 + offset: 0 + + brakeTempRearRight_C: + id: 83 + motec_name: Brake Temp RR + unit: C + type: FLOATING + encoding: MSB + scale: 0.1953125 # [0-800] -> [0-4096] + offset: 0 + + # rightFlowRate_LPerMin: + # id: 74 + # motec_name: Right Flow Rate + # unit: L/min + # type: FLOATING + # encoding: MSB + # scale: 0.1 + # offset: 0 + + # END SENSOR HUB REAR RIGHT + # Power and Logging Module Sensing: + plmVbatVoltage_V: + id: 84 + motec_name: PLM Battery Volts + unit: V + type: FLOATING + encoding: MSB + scale: 0.005060546875 # [0-20.728] -> [0-4096] + offset: 0 + + plm5VVoltage_V: + id: 85 + motec_name: PLM 5V Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.0019541015625 # [0-8.004] -> [0-4096] + offset: 0 + + vbatChan0Current_A: + id: 86 + motec_name: VBat Channel 0 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.007412109375 # [0-30.36] -> [0-4096] + offset: 0 + + vbatChan1Current_A: + id: 87 + motec_name: VBat Channel 1 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.007412109375 # [0-30.36] -> [0-4096] + offset: 0 + + vbatChan2Current_A: + id: 88 + motec_name: VBat Channel 2 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.007412109375 # [0-30.36] -> [0-4096] + offset: 0 + + vbatChan3Current_A: + id: 89 + motec_name: VBat Channel 3 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.007412109375 # [0-30.36] -> [0-4096] + offset: 0 + + vbatChan4Current_A: + id: 90 + motec_name: VBat Channel 4 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.007412109375 # [0-30.36] -> [0-4096] + offset: 0 + + vbatChan5Current_A: + id: 91 + motec_name: VBat Channel 5 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.007412109375 # [0-30.36] -> [0-4096] + offset: 0 + + vbatChan6Current_A: + id: 92 + motec_name: VBat Channel 6 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.007412109375 # [0-30.36] -> [0-4096] + offset: 0 + + fiveVChan0Current_A: + id: 93 + motec_name: Five Volts Channel 0 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.0019609375 # [0-8.032] -> [0-4096] + offset: 0 + + fiveVChan1Current_A: + id: 94 + motec_name: Five Volts Channel 1 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.0019609375 # [0-8.032] -> [0-4096] + offset: 0 + + fiveVChan2Current_A: + id: 95 + motec_name: Five Volts Channel 2 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.0019609375 # [0-8.032] -> [0-4096] + offset: 0 + + fiveVChan3Current_A: + id: 96 + motec_name: Five Volts Channel 3 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.0019609375 # [0-8.032] -> [0-4096] + offset: 0 + + # Power and Logging Module Internal + can0Utilization_percent: + id: 97 + motec_name: Bus0 Utilization + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + can1Utilization_percent: + id: 98 + motec_name: Bus1 Utilization + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + can2Utilization_percent: + id: 99 + motec_name: Bus2 Utilization + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + # END PLM + # Steering Wheel Module + swUpshift_state: + id: 100 + motec_name: Wheel Upshift Paddle Pos + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + swDownshift_state: + id: 101 + motec_name: Wheel Downshift Paddle Pos + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + swSlowClutch_state: + id: 102 + motec_name: Wheel Slow Clutch + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + swFastClutch_state: + id: 103 + motec_name: Wheel Fast Clutch + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + swButon0_state: + id: 104 + motec_name: Wheel Button 0 + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + swButon1_state: + id: 105 + motec_name: Wheel Button 1 + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + swButon2_state: + id: 106 + motec_name: Wheel Button 2 + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + swButon3_state: + id: 107 + motec_name: Wheel Button 3 + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + displayPage_state: + id: 108 + motec_name: Display Page + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + swDial_ul: + id: 109 + motec_name: Wheel Dial + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + # END SWM + # Inertail Measurement Unit + yawRate_degPerSec: + id: 110 + motec_name: Yaw Rate + unit: deg/s + type: FLOATING + encoding: LSB + scale: 0.005 + offset: -163.84 + + rollRate_degPerSec: + id: 111 + motec_name: Roll Rate + unit: deg/s + type: FLOATING + encoding: LSB + scale: 0.005 + offset: -163.84 + + lateralAccel_G: + id: 112 + motec_name: G Force Lat + unit: G + type: FLOATING + encoding: LSB + scale: 0.0001274 + offset: -4.1746432 + + longitudinalAccel_G: + id: 113 + motec_name: G Force Long + unit: G + type: FLOATING + encoding: LSB + scale: 0.0001274 + offset: -4.1746432 + + verticalAccel_G: + id: 114 + motec_name: G Force Vert + unit: G + type: FLOATING + encoding: LSB + scale: 0.0001274 + offset: -4.1746432 + # END IMU + # LAP BEACON (sent with ECU) + # pretty sure i2 just looks for the channel named "beacon" and works with that + lapBeacon_ul: + id: 115 + motec_name: Beacon + unit: '' + type: SIGNED16 + encoding: MSB + scale: 1 + offset: 0 + # END LAP BEACON + + # DATA LOGGING + packetsLogged_ul: + id: 116 + motec_name: Packets Logged + unit: '' + type: UNSIGNED32 + encoding: MSB + scale: 1 + offset: 0 + + packetsDropped_ul: + id: 117 + motec_name: Packets Dropped + unit: '' + type: UNSIGNED32 + encoding: MSB + scale: 1 + offset: 0 + + storageBufferFill_percent: + id: 118 + motec_name: Storage Buffer Fill + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + telemetryBufferFill_percent: + id: 119 + motec_name: Telemetry Buffer Fill + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + # END DATA LOGGING + + + +groups: [ + { + id: 0x010, + # NOTE: This message is designed to be sent to the ECU over an ECU channel. + # These are message types MoTeC sequential. This guide was followed to make + # it work: https://www.motec.com.au/forum/viewtopic.php?f=11&t=4119 + # + # This also must be higher in the list than the message being sent from the + # sensor hubs to make it so this can only be sent using the send_group() function + parameters: [ + {name: brakePressureFront_psi, start: 2, length: 2}, + {name: wheelSpeedFrontLeft_mph, start: 4, length: 2}, + {name: wheelSpeedFrontRight_mph, start: 6, length: 2} + ] + }, + + # NOTE: CAN IDs are set as (moduleID-1)*0x100 + (0x50*FrqGroup) + (Message) + # High Frequency ECU (Custom Set 1) + { + id: 0x100, + parameters: [ + {name: engineRPM_rpm, start: 0, length: 2}, + {name: throttlePos_percent, start: 2, length: 2}, + {name: lambda1_LA, start: 4, length: 2}, + {name: aimLambda1_LA, start: 6, length: 2} + ] + }, + { + id: 0x101, + parameters: [ + {name: fuelCutLevel_percent, start: 0, length: 2}, + {name: ignCutLevel_percent, start: 2, length: 2}, + {name: ignAdvance_degrees, start: 4, length: 2}, + {name: fuelInjDuty_percent, start: 6, length: 2} + ] + }, + { + id: 0x102, + parameters: [ + {name: rightRadWaterTempOut_C, start: 0, length: 2}, + {name: engineInletTemp_C, start: 2, length: 2}, + {name: engineOutletTemp_C, start: 4, length: 2} + ] + }, + # Low Frequency ECU (Custom Set 2) + { + id: 0x150, + parameters: [ + {name: engineTemp_C, start: 0, length: 2}, + {name: oilPressure_kPa, start: 2, length: 2}, + {name: oilTemp_C, start: 4, length: 2}, + {name: batteryVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x151, + parameters: [ + {name: ecu5VEng_V, start: 0, length: 2}, + {name: ecu5VAux_V, start: 2, length: 2}, + {name: ecuTemp_C, start: 4, length: 2}, + {name: oilFanDuty_percent, start: 6, length: 2} + ] + }, + { + id: 0x152, + parameters: [ + {name: waterPumpDuty_percent, start: 0, length: 2}, + {name: warningLightDuty_percent, start: 2, length: 2}, + {name: spartkCutLightDuty_percent, start: 4, length: 2}, + {name: lapBeacon_ul, start: 6, length: 2} + ] + }, + # Display GPS + { + id: 0x700, + parameters: [ + {name: gpsLatitude_deg, start: 0, length: 4}, + {name: gpsLongitude_deg, start: 4, length: 4} + ] + }, + { + id: 0x701, + parameters: [ + {name: gpsSpeed_mph, start: 0, length: 2}, + {name: gpsAltitude_ft, start: 2, length: 2}, + {name: gpsCourse_deg, start: 4, length: 2}, + {name: gpsSatelliteCount_ul, start: 6, length: 1} + ] + }, + { + id: 0x702, + parameters: [ + {name: gpsValid_ul, start: 0, length: 1}, + {name: gpsYearUTC_ul, start: 1, length: 1}, + {name: gpsMonthUTC_ul, start: 2, length: 1}, + {name: gpsDayUTC_ul, start: 3, length: 1}, + {name: gpsHoursUTC_ul, start: 5, length: 1}, + {name: gpsMinutesUTC_ul, start: 6, length: 1}, + {name: gpsSecondsUTC_ul, start: 7, length: 1} + ] + }, + # Steering Wheel Module + { + id: 0x200, + parameters: [ + {name: swUpshift_state, start: 0, length: 1}, + {name: swDownshift_state, start: 1, length: 1}, + {name: swSlowClutch_state, start: 2, length: 1}, + {name: swFastClutch_state, start: 3, length: 1}, + {name: swButon0_state, start: 4, length: 1}, + {name: swButon1_state, start: 5, length: 1}, + {name: displayPage_state, start: 6, length: 1} + ] + }, + { + id: 0x201, + # NOTE: This message is designed to be sent to the ECU over an ADL channel. + # These are message types MoTeC sequential. This guide was followed to make + # it work: https://www.motec.com.au/forum/viewtopic.php?f=11&t=4119 + parameters: [ + {name: swButon2_state, start: 3, length: 1}, + {name: swButon3_state, start: 5, length: 1}, + {name: swDial_ul, start: 7, length: 1} + ] + }, + # TCM + { + id: 0x300, + parameters: [ + {name: shifterPosition_mm, start: 0, length: 2}, + {name: clutchPosition_mm, start: 2, length: 2}, + {name: gearPosition_mm, start: 4, length: 2}, + {name: counterShaftSpeed_rpm, start: 6, length: 2} + ] + }, + { + id: 0x301, + parameters: [ + {name: tcmTargetRPM_rpm, start: 0, length: 2}, + {name: tcmCurrentGear_state, start: 2, length: 1}, + {name: tcmCurrentlyMoving_state, start: 3, length: 1}, + {name: tcmAntiStallActive_state, start: 4, length: 1}, + {name: tcmUsingClutch_state, start: 5, length: 1}, + {name: tcmShiftState_state, start: 6, length: 1}, + {name: tcmError_state, start: 7, length: 1} + ] + }, + { + id: 0x302, + parameters: [ + {name: tcmTimeShiftOnly_state, start: 0, length: 1}, + {name: tcmClutchlessDownshift_state, start: 1, length: 1}, + {name: tcmTargetGear_state, start: 2, length: 1}, + {name: tcmSpkCut_state, start: 3, length: 1}, + {name: tcmSuccessfulShift_state, start: 4, length: 1} + ] + }, + { + id: 0x303, + parameters: [ + {name: tcmNumShifts_ul, start: 0, length: 2}, + {name: tcmNumSuccessfulShifts_ul, start: 2, length: 2} + ] + }, + # Sensor Hub Front + # Low frequency + { + id: 0x400, + parameters: [ + {name: brakePressureFront_psi, start: 0, length: 2}, + {name: brakePressureRear_psi, start: 2, length: 2}, + {name: brakeTempFrontLeft_C, start: 4, length: 2}, + {name: brakeTempFrontRight_C, start: 6, length: 2} + ] + }, + { + id: 0x401, + parameters: [ + {name: steeringAngle_deg, start: 0, length: 2} + ] + }, + # High Frequency + { + id: 0x450, + parameters: [ + {name: shockPosFrontLeft_mm, start: 0, length: 2}, + {name: shockPosFrontRight_mm, start: 2, length: 2}, + {name: wheelSpeedFrontLeft_mph, start: 4, length: 2}, + {name: wheelSpeedFrontRight_mph, start: 6, length: 2} + ] + }, + # Sensor Hub Rear Left + # Low frequency + { + id: 0x500, + parameters: [ + {name: fuelPressure_psi, start: 0, length: 2}, + {name: exhaustTemp_C, start: 2, length: 2}, + {name: leftRadWaterTempIn_C, start: 4, length: 2}, + {name: leftRadWaterTempOut_C, start: 6, length: 2} + ] + }, + # High Frequency + { + id: 0x550, + parameters: [ + {name: shockPosRearLeft_mm, start: 0, length: 2}, + {name: wheelSpeedRearLeft_mph, start: 2, length: 2}, + {name: leftShroudPitot_inH2O, start: 4, length: 2}, + {name: leftFlowRate_GPerSec, start: 6, length: 2} + ] + }, + { + id: 0x551, + parameters: [ + {name: leftFlowRateFreq_hz, start: 0, length: 2} + ] + }, + # Sensor Hub Rear Right + # Low frequency + { + id: 0x600, + parameters: [ + {name: manifoldTemp_C, start: 0, length: 2}, + {name: manifoldPressure_kPa, start: 2, length: 2}, + {name: airTankPressure_psi, start: 4, length: 2}, + {name: airLinePressure_psi, start: 6, length: 2} + ] + }, + { + id: 0x601, + parameters: [ + {name: brakeTempRearRight_C, start: 0, length: 2}, + {name: rightRadAirPresIn_kPa, start: 2, length: 4}, + {name: rightRadAirTempIn_C, start: 4, length: 2}, + {name: rightRadAirTempOut_C, start: 6, length: 2}, + ] + }, + # High Frequency + { + id: 0x650, + parameters: [ + {name: shockPosRearRight_mm, start: 0, length: 2}, + {name: wheelSpeedRearRight_mph, start: 2, length: 2}, + {name: rightAuxTemp_C, start: 4, length: 2}, + {name: rightShroudPitot_inH2O, start: 6, length: 2} + ] + }, + # Power and Logging Module (Not contiunously sent) + { + id: 0x000, + parameters: [ + {name: vbatChan0Current_A, start: 0, length: 2}, + {name: vbatChan1Current_A, start: 2, length: 2}, + {name: vbatChan2Current_A, start: 4, length: 2}, + {name: vbatChan3Current_A, start: 6, length: 2} + ] + }, + { + id: 0x001, + parameters: [ + {name: vbatChan4Current_A, start: 0, length: 2}, + {name: vbatChan5Current_A, start: 2, length: 2}, + {name: vbatChan6Current_A, start: 4, length: 2}, + {name: fiveVChan0Current_A, start: 6, length: 2} + ] + }, + { + id: 0x002, + parameters: [ + {name: fiveVChan1Current_A, start: 0, length: 2}, + {name: fiveVChan2Current_A, start: 2, length: 2}, + {name: fiveVChan3Current_A, start: 4, length: 2}, + {name: can0Utilization_percent, start: 6, length: 2} + ] + }, + { + id: 0x003, + parameters: [ + {name: can1Utilization_percent, start: 0, length: 2}, + {name: can2Utilization_percent, start: 2, length: 2}, + {name: plmVbatVoltage_V, start: 4, length: 2}, + {name: plm5VVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x004, + parameters: [ + {name: packetsLogged_ul, start: 0, length: 4}, + {name: packetsDropped_ul, start: 4, length: 4} + ] + }, + { + id: 0x005, + parameters: [ + {name: storageBufferFill_percent, start: 0, length: 2}, + {name: telemetryBufferFill_percent, start: 2, length: 2} + ] + }, + + # IMU Messages (No control over these IDs) + { + id: 0x174, + parameters: [ + {name: yawRate_degPerSec, start: 0, length: 2}, + {name: lateralAccel_G, start: 4, length: 2} + ] + }, + { + id: 0x178, + parameters: [ + {name: rollRate_degPerSec, start: 0, length: 2}, + {name: longitudinalAccel_G, start: 4, length: 2} + ] + }, + { + id: 0x17C, + parameters: [ + {name: verticalAccel_G, start: 4, length: 2} + ] + } +] + +commands: + 0: SET_LED_STATE # args: (LED state, _, _, _) + 1: SET_RTC_TIME # args: (hour, min, sec, _) + 2: SET_RTC_DATE # args: (year, month, day, weekday) + 3: LOG_COMPLETE # args: (_, _, _, _) + +errors: + 0: ID_NOT_FOUND + 1: COMMAND_ID_NOT_FOUND + 2: PARAM_NOT_ENABLED + 3: SIZE_ERROR + 4: DATATYPE_NOT_FOUND + 5: COMMAND_NOT_ENABLED \ No newline at end of file diff --git a/network_autogen/configs/go4-23e.yaml b/network_autogen/configs/go4-23e.yaml new file mode 100644 index 0000000..f2ec5e4 --- /dev/null +++ b/network_autogen/configs/go4-23e.yaml @@ -0,0 +1,7317 @@ +buses: + - GCAN0 + - GCAN1 + - GCAN2 + +modules: + PLM: + id: 1 + buses: + - GCAN0 + - GCAN1 + - GCAN2 + Inverter: + id: 2 + buses: + - GCAN1 + VCU: + id: 3 + buses: + - GCAN1 + BMS: + id: 4 + buses: + - GCAN2 + SH_F: + id: 5 + buses: + - GCAN0 + SH_R: + id: 6 + buses: + - GCAN2 + IMU: + id: 7 + buses: + - GCAN0 + Display: + id: 8 + buses: + - GCAN1 + +parameters: + # Inverter + + igbtATemp_C: + id: 1 + motec_name: IGBT A Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + igbtBTemp_C: + id: 2 + motec_name: IGBT B Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + igbtCTemp_C: + id: 3 + motec_name: IGBT C Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + gateDriverBoardTemp_C: + id: 4 + motec_name: Gate Driver Board Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + controlBoardTemp_C: + id: 5 + motec_name: Control Board Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + rtd1Temp_C: + id: 6 + motec_name: RTD 1 Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + rtd2Temp_C: + id: 7 + motec_name: RTD 2 Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + rtd3Temp_C: + id: 8 + motec_name: RTD 3 Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + coolantTemp_C: + id: 9 + motec_name: Estimated Coolant Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + hotSpotTemp_C: + id: 10 + motec_name: Inverter Hot Spot Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + motorTemp_C: + id: 11 + motec_name: Motor Temp + unit: C + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + torqueShudder_Nm: + id: 12 + motec_name: Torque Shudder + unit: Nm + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + # Analog and Digital voltage inputs are not used + motorAngle_deg: + id: 13 + motec_name: Motor Angle + unit: deg + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + motorSpeedLF_rpm: + id: 14 + motec_name: Motor Speed Low Frequency + unit: rpm + type: SIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + motorACFreq_Hz: + id: 15 + motec_name: Motor AC Frequency + unit: Hz + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + deltaResolver_deg: + id: 16 + motec_name: Delta Resolver Filtered + unit: deg + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + phaseACurrent_A: + id: 17 + motec_name: Phase A Current + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + phaseBCurrent_A: + id: 18 + motec_name: Phase B Current + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + phaseCCurrent_A: + id: 19 + motec_name: Phase C Current + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + dcBusCurrent_A: + id: 20 + motec_name: DC Bus Current + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + dcBusVoltageLF_V: + id: 21 + motec_name: DC Bus Voltage Low Frequency + unit: V + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + peakOutputVoltage_V: + id: 22 + motec_name: Peak Output Voltage + unit: V + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + vdVoltage_V: + id: 23 + motec_name: Vd Voltage + unit: V + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + vqVoltage_V: + id: 24 + motec_name: Vq Voltage + unit: V + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + fluxCommand_Wb: + id: 25 + motec_name: Flux Command + unit: Wb + type: FLOATING + encoding: LSB + scale: 0.001 + offset: 0 + + fluxFeedback_Wb: + id: 26 + motec_name: Flux Feedback + unit: Wb + type: FLOATING + encoding: LSB + scale: 0.001 + offset: 0 + + idFeedback_A: + id: 27 + motec_name: Id Feedback + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + iqFeedback_A: + id: 28 + motec_name: Iq Feedback + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + vRef1v5_V: + id: 29 + motec_name: Refrence 1V5 + unit: V + type: FLOATING + encoding: LSB + scale: 0.01 + offset: 0 + + vRef2v5_V: + id: 30 + motec_name: Refrence 2V5 + unit: V + type: FLOATING + encoding: LSB + scale: 0.01 + offset: 0 + + vRef5v_V: + id: 31 + motec_name: Refrence 5V + unit: V + type: FLOATING + encoding: LSB + scale: 0.01 + offset: 0 + + vRef12v_V: + id: 32 + motec_name: Refrence 12V + unit: V + type: FLOATING + encoding: LSB + scale: 0.01 + offset: 0 + + vsmState_state: + id: 33 + motec_name: VSM State + unit: '' + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + pwmFreq_kHz: + id: 34 + motec_name: PWM Frequency + unit: kHz + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + inverterState_state: + id: 35 + motec_name: Inverter State + unit: '' + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + relayState_state: + id: 36 + motec_name: Relay State + unit: '' + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + invStatesByte4_state: + id: 37 + motec_name: Byte 4 Inverter States + unit: '' + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + invStatesByte5_state: + id: 38 + motec_name: Byte 5 Inverter States + unit: '' + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + invStatesByte6_state: + id: 39 + motec_name: Byte 6 Inverter States + unit: '' + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + invStatesByte7_state: + id: 40 + motec_name: Byte 7 Inverter States + unit: '' + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + postFaultLo_state: + id: 41 + motec_name: POST Fault Lo + unit: '' + type: UNSIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + postFaultHi_state: + id: 42 + motec_name: POST Fault Hi + unit: '' + type: UNSIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + runFaultLo_state: + id: 43 + motec_name: Run Fault Lo + unit: '' + type: UNSIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + runFaultHi_state: + id: 44 + motec_name: Run Fault Hi + unit: '' + type: UNSIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + activeTorqueCmdLF_Nm: + id: 45 + motec_name: Broadcasted Commanded Torque Low Frequency + unit: Nm + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + torqueFeedbackLF_Nm: + id: 46 + motec_name: Torque Feedback Low Frequency + unit: Nm + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + powerOnTimer_s: + id: 47 + motec_name: Power On Timer + unit: s + type: FLOATING + encoding: LSB + scale: 0.003 + offset: 0 + + modulationIndex_ul: + id: 48 + motec_name: Modulation Index + unit: '' + type: FLOATING + encoding: LSB + scale: 0.01 + offset: 0 + + fluxWeakeningOutput_A: + id: 49 + motec_name: Flux Weakening Output + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + iqCommand_A: + id: 50 + motec_name: Iq Command + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + idCommand_A: + id: 51 + motec_name: Id Command + unit: A + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + # Skipping Firmware info and Diagnositic Data + + activeTorqueCmd_Nm: + id: 52 + motec_name: Broadcasted Commanded Torque + unit: Nm + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + torqueFeedback_Nm: + id: 53 + motec_name: Torque Feedback + unit: Nm + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + motorSpeed_rpm: + id: 54 + motec_name: Motor Speed + unit: rpm + type: SIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + dcBusVoltage_V: + id: 55 + motec_name: DC Bus Voltage + unit: V + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + soeByOCV_percent: + id: 56 + motec_name: SOE by OCV + uint: '%' + type: FLOATING + encoding: MSB + scale: 0.01 + offset: 0 + + soeByCoulombCounting_percent: + id: 57 + motec_name: SOE by Coulomb Counting + uint: '%' + type: FLOATING + encoding: MSB + scale: 0.01 + offset: 0 + + # Inverter Command Parameters + + torqueCmd_Nm: + id: 58 + motec_name: Commanded Torque + unit: Nm + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + speedCmd_rpm: + id: 59 + motec_name: Commanded Speed (rpm) + unit: rpm + type: FLOATING + encoding: LSB + scale: 1 + offset: 0 + + cmdDir_state: + id: 60 + motec_name: Commanded Motor Direction + unit: state + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + invCmdFlags_state: + id: 61 + motec_name: + unit: state + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + torqueCmdLim_Nm: + id: 62 + motec_name: Commanded Torque Limit + unit: Nm + type: FLOATING + encoding: LSB + scale: 0.1 + offset: 0 + + # Inverter Command Parameters + + invParameterAddress_state: + id: 63 + motec_name: Inverter Parameter Address + unit: Nm + type: UNSIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + invParameterRW_state: + id: 64 + motec_name: Inverter Parameter Read/Write + unit: rpm + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + invParameterReserved1_state: + id: 65 + motec_name: Inverter Parameter Reserved 1 + unit: state + type: UNSIGNED8 + encoding: LSB + scale: 1 + offset: 0 + + invParameterData_state: + id: 66 + motec_name: Inverter Parameter Data + unit: state + type: UNSIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + invParameterReserved2_state: + id: 67 + motec_name: Inverter Parameter Reserved 2 + unit: Nm + type: UNSIGNED16 + encoding: LSB + scale: 1 + offset: 0 + + # Inverter Current Limiting + + inverterChargeLimit_A: + id: 68 + motec_name: DC Current Charge Limit + unit: A + type: FLOATING + encoding: LSB + scale: 1 + offset: 0 + + inverterDischargeLimit_A: + id: 69 + motec_name: DC Current Discharge Limit + unit: A + type: FLOATING + encoding: LSB + scale: 1 + offset: 0 + + # END INVERTER + + # Vehicle Control Unit + + # Vehicle Control Unit Sensors + pedalPosition1_mm: + id: 70 + motec_name: Accelerator Pedal Pos 1 MM + unit: mm + type: FLOATING + encoding: MSB + scale: 0.00610500611 # [0-25] -> [0-4095] + offset: 0 + + pedalPosition2_mm: + id: 71 + motec_name: Accelerator Pedal Pos 2 MM + unit: mm + type: FLOATING + encoding: MSB + scale: 0.00610500611 # [0-25] -> [0-4095] + offset: 0 + + pedalPosition1_percent: + id: 72 + motec_name: Accelerator Pedal Pos 1 Percent + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + pedalPosition2_percent: + id: 73 + motec_name: Accelerator Pedal Pos 2 Percent + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + brakePressureFront_psi: + id: 74 + motec_name: Brake Pres Front + unit: psi + type: FLOATING + encoding: MSB + scale: 0.488400488 # [0-2000] -> [0-4095] + offset: 0 + + vcuTractiveSystemCurrent_A: + id: 75 + motec_name: Tractive System Current (VCU) + unit: A + type: FLOATING + encoding: MSB + scale: 0.00914627595 # [-18.727-18.727] -> [0-4095] + offset: -18.727 + + # BSPD Check stuff + bspdBrakePressureSensorFault_state: + id: 76 + motec_name: BSPD Brake Pres Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bspdPedalPosition1Fault_state: + id: 77 + motec_name: BSPD Pedal 1 Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bspdPedalPosition2Fault_state: + id: 78 + motec_name: BSPD Pedal 2 Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bspdTractiveSystemCurrentSensorFault_state: + id: 79 + motec_name: BSPD Tractive System Current Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bspdTractiveSystemBrakingFault_state: + id: 80 + motec_name: BSPD Check Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # VSC Faults + + vcuBrakePressureSensorFault_state: + id: 81 + motec_name: VCU Brake Pres Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuPedalPosition1Fault_state: + id: 82 + motec_name: VCU Pedal 1 Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuPedalPosition2Fault_state: + id: 83 + motec_name: VCU Pedal 2 Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuTractiveSystemCurrentSensorFault_state: + id: 84 + motec_name: VCU Tractive System Current Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuPedalPositionCorrelationFault_state: + id: 85 + motec_name: VCU APPS Correlation Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuPedalPositionBrakingFault_state: + id: 86 + motec_name: VCU Accelerator and Braking Fault + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Vehicle Control Tractive Miscellaneous + + vcuBrakingClampingCurrent_state: + id: 87 + motec_name: VCU Current Clamping + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuTorqueRequested_Nm: + id: 88 + motec_name: VCU Torque Requested + unit: Nm + type: FLOATING + encoding: MSB + scale: 1 + offset: 0 + + # Vehicle Control Unit Cooling + coolantPumpPressure_psi: + id: 89 + motec_name: Coolant Pump Pres + unit: psi + type: FLOATING + encoding: MSB + scale: 0.0244200244 # [0-100] -> [0-4095] + offset: 0 + + coolantFanPower_percent: + id: 90 + motec_name: Radiator Fan Control Duty + unit: '%' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + coolantPumpPower_percent: + id: 91 + motec_name: Pump Control Duty + unit: '%' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + accumulatorFanPower_percent: + id: 92 + motec_name: Accumulator Fan Control Duty + unit: '%' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Vehicle Control Unit I/O + + switch1On_state: + id: 93 + motec_name: Switch 1 + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + switch2On_state: + id: 94 + motec_name: Switch 2 + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpio1_state: + id: 95 + motec_name: General Purpose IO 1 + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpio2_state: + id: 96 + motec_name: General Purpose IO 2 + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + brakeLightOn_state: + id: 97 + motec_name: Brake Light + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vehicleBuzzerOn_state: + id: 98 + motec_name: Ready to Drive Buzzer + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + readyToDriveButton_state: + id: 99 + motec_name: Ready to Drive Button + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # VCU Internal + + vcuTemp_C: + id: 100 + motec_name: VCU Temperature + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + vehicleState_state: + id: 101 + motec_name: Vehicle State + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuState_state: + id: 102 + motec_name: VCU State + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuMcuStatus_state: + id: 103 + motec_name: VCU MCU State + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + currentlyMoving_state: + id: 104 + motec_name: Currently Moving + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + vcuGSenseStatus_state: + id: 105 + motec_name: VCU GopherSense Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + displayFaultStatus_state: + id: 106 + motec_name: Display Fault Status Message + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + # END VCU + + # Battery Management System + # Segment 1 Overall + seg1Voltage_V: + id: 107 + motec_name: Segment 1 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1BMBMaxBoardTemp_C: + id: 108 + motec_name: Segment 1 BMB Max Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1BMBMinBoardTemp_C: + id: 109 + motec_name: Segment 1 BMB Min Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1BMBAveBoardTemp_C: + id: 110 + motec_name: Segment 1 BMB Ave Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1MaxCellVoltage_V: + id: 111 + motec_name: Segment 1 Max Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1MinCellVoltage_V: + id: 112 + motec_name: Segment 1 Min Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1AveCellVoltage_V: + id: 113 + motec_name: Segment 1 Average Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1MaxCellTemp_C: + id: 114 + motec_name: Segment 1 Max Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1MinCellTemp_C: + id: 115 + motec_name: Segment 1 Min Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1AveCellTemp_C: + id: 116 + motec_name: Segment 1 Ave Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 1 BMB Board Temps + seg1BMBBoardTemp1_C: + id: 117 + motec_name: Segment 1 BMB Board Temp 1 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1BMBBoardTemp2_C: + id: 118 + motec_name: Segment 1 BMB Board Temp 2 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1BMBBoardTemp3_C: + id: 119 + motec_name: Segment 1 BMB Board Temp 3 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1BMBBoardTemp4_C: + id: 120 + motec_name: Segment 1 BMB Board Temp 4 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 1 Voltage + seg1Cell1Voltage_V: + id: 121 + motec_name: Segment 1 Cell 1 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell2Voltage_V: + id: 122 + motec_name: Segment 1 Cell 2 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell3Voltage_V: + id: 123 + motec_name: Segment 1 Cell 3 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell4Voltage_V: + id: 124 + motec_name: Segment 1 Cell 4 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell5Voltage_V: + id: 125 + motec_name: Segment 1 Cell 5 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell6Voltage_V: + id: 126 + motec_name: Segment 1 Cell 6 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell7Voltage_V: + id: 127 + motec_name: Segment 1 Cell 7 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell8Voltage_V: + id: 128 + motec_name: Segment 1 Cell 8 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell9Voltage_V: + id: 129 + motec_name: Segment 1 Cell 9 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell10Voltage_V: + id: 130 + motec_name: Segment 1 Cell 10 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell11Voltage_V: + id: 131 + motec_name: Segment 1 Cell 11 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg1Cell12Voltage_V: + id: 132 + motec_name: Segment 1 Cell 12 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # Segment 1 Temp + seg1Cell1Temp_C: + id: 133 + motec_name: Segment 1 Cell 1 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell2Temp_C: + id: 134 + motec_name: Segment 1 Cell 2 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell3Temp_C: + id: 135 + motec_name: Segment 1 Cell 3 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell4Temp_C: + id: 136 + motec_name: Segment 1 Cell 4 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell5Temp_C: + id: 137 + motec_name: Segment 1 Cell 5 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell6Temp_C: + id: 138 + motec_name: Segment 1 Cell 6 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell7Temp_C: + id: 139 + motec_name: Segment 1 Cell 7 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell8Temp_C: + id: 140 + motec_name: Segment 1 Cell 8 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell9Temp_C: + id: 141 + motec_name: Segment 1 Cell 9 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell10Temp_C: + id: 142 + motec_name: Segment 1 Cell 10 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell11Temp_C: + id: 143 + motec_name: Segment 1 Cell 11 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg1Cell12Temp_C: + id: 144 + motec_name: Segment 1 Cell 12 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 1 Voltage Status + seg1Cell1VoltageStatus: + id: 145 + motec_name: Segment 1 Cell 1 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell2VoltageStatus: + id: 146 + motec_name: Segment 1 Cell 2 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell3VoltageStatus: + id: 147 + motec_name: Segment 1 Cell 3 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell4VoltageStatus: + id: 148 + motec_name: Segment 1 Cell 4 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell5VoltageStatus: + id: 149 + motec_name: Segment 1 Cell 5 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell6VoltageStatus: + id: 150 + motec_name: Segment 1 Cell 6 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell7VoltageStatus: + id: 151 + motec_name: Segment 1 Cell 7 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell8VoltageStatus: + id: 152 + motec_name: Segment 1 Cell 8 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell9VoltageStatus: + id: 153 + motec_name: Segment 1 Cell 9 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell10VoltageStatus: + id: 154 + motec_name: Segment 1 Cell 10 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell11VoltageStatus: + id: 155 + motec_name: Segment 1 Cell 11 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell12VoltageStatus: + id: 156 + motec_name: Segment 1 Cell 12 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Segment 1 Temp Status + seg1Cell1TempStatus: + id: 157 + motec_name: Segment 1 Cell 1 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell2TempStatus: + id: 158 + motec_name: Segment 1 Cell 2 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell3TempStatus: + id: 159 + motec_name: Segment 1 Cell 3 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell4TempStatus: + id: 160 + motec_name: Segment 1 Cell 4 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell5TempStatus: + id: 161 + motec_name: Segment 1 Cell 5 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell6TempStatus: + id: 162 + motec_name: Segment 1 Cell 6 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell7TempStatus: + id: 163 + motec_name: Segment 1 Cell 7 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell8TempStatus: + id: 164 + motec_name: Segment 1 Cell 8 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell9TempStatus: + id: 165 + motec_name: Segment 1 Cell 9 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell10TempStatus: + id: 166 + motec_name: Segment 1 Cell 10 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell11TempStatus: + id: 167 + motec_name: Segment 1 Cell 11 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg1Cell12TempStatus: + id: 168 + motec_name: Segment 1 Cell 12 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END SEGMENT 1 + # Segment 2 Overall + seg2Voltage_V: + id: 169 + motec_name: Segment 2 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2BMBMaxBoardTemp_C: + id: 170 + motec_name: Segment 2 BMB Max Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2BMBMinBoardTemp_C: + id: 171 + motec_name: Segment 2 BMB Min Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2BMBAveBoardTemp_C: + id: 172 + motec_name: Segment 2 BMB Ave Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2MaxCellVoltage_V: + id: 173 + motec_name: Segment 2 Max Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2MinCellVoltage_V: + id: 174 + motec_name: Segment 2 Min Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2AveCellVoltage_V: + id: 175 + motec_name: Segment 2 Average Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2MaxCellTemp_C: + id: 176 + motec_name: Segment 2 Max Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2MinCellTemp_C: + id: 177 + motec_name: Segment 2 Min Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2AveCellTemp_C: + id: 178 + motec_name: Segment 2 Ave Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 2 BMB Board Temps + seg2BMBBoardTemp1_C: + id: 179 + motec_name: Segment 2 BMB Board Temp 1 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2BMBBoardTemp2_C: + id: 180 + motec_name: Segment 2 BMB Board Temp 2 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2BMBBoardTemp3_C: + id: 181 + motec_name: Segment 2 BMB Board Temp 3 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2BMBBoardTemp4_C: + id: 182 + motec_name: Segment 2 BMB Board Temp 4 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 2 Voltage + seg2Cell1Voltage_V: + id: 183 + motec_name: Segment 2 Cell 1 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell2Voltage_V: + id: 184 + motec_name: Segment 2 Cell 2 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell3Voltage_V: + id: 185 + motec_name: Segment 2 Cell 3 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell4Voltage_V: + id: 186 + motec_name: Segment 2 Cell 4 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell5Voltage_V: + id: 187 + motec_name: Segment 2 Cell 5 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell6Voltage_V: + id: 188 + motec_name: Segment 2 Cell 6 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell7Voltage_V: + id: 189 + motec_name: Segment 2 Cell 7 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell8Voltage_V: + id: 190 + motec_name: Segment 2 Cell 8 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell9Voltage_V: + id: 191 + motec_name: Segment 2 Cell 9 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell10Voltage_V: + id: 192 + motec_name: Segment 2 Cell 10 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell11Voltage_V: + id: 193 + motec_name: Segment 2 Cell 11 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg2Cell12Voltage_V: + id: 194 + motec_name: Segment 2 Cell 12 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # Segment 2 Temp + seg2Cell1Temp_C: + id: 195 + motec_name: Segment 2 Cell 1 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell2Temp_C: + id: 196 + motec_name: Segment 2 Cell 2 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell3Temp_C: + id: 197 + motec_name: Segment 2 Cell 3 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell4Temp_C: + id: 198 + motec_name: Segment 2 Cell 4 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell5Temp_C: + id: 199 + motec_name: Segment 2 Cell 5 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell6Temp_C: + id: 200 + motec_name: Segment 2 Cell 6 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell7Temp_C: + id: 201 + motec_name: Segment 2 Cell 7 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell8Temp_C: + id: 202 + motec_name: Segment 2 Cell 8 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell9Temp_C: + id: 203 + motec_name: Segment 2 Cell 9 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell10Temp_C: + id: 204 + motec_name: Segment 2 Cell 10 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell11Temp_C: + id: 205 + motec_name: Segment 2 Cell 11 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg2Cell12Temp_C: + id: 206 + motec_name: Segment 2 Cell 12 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 2 Voltage Status + seg2Cell1VoltageStatus: + id: 207 + motec_name: Segment 2 Cell 1 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell2VoltageStatus: + id: 208 + motec_name: Segment 2 Cell 2 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell3VoltageStatus: + id: 209 + motec_name: Segment 2 Cell 3 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell4VoltageStatus: + id: 210 + motec_name: Segment 2 Cell 4 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell5VoltageStatus: + id: 211 + motec_name: Segment 2 Cell 5 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell6VoltageStatus: + id: 212 + motec_name: Segment 2 Cell 6 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell7VoltageStatus: + id: 213 + motec_name: Segment 2 Cell 7 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell8VoltageStatus: + id: 214 + motec_name: Segment 2 Cell 8 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell9VoltageStatus: + id: 215 + motec_name: Segment 2 Cell 9 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell10VoltageStatus: + id: 216 + motec_name: Segment 2 Cell 10 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell11VoltageStatus: + id: 217 + motec_name: Segment 2 Cell 11 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell12VoltageStatus: + id: 218 + motec_name: Segment 2 Cell 12 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Segment 2 Temp Status + seg2Cell1TempStatus: + id: 219 + motec_name: Segment 2 Cell 1 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell2TempStatus: + id: 220 + motec_name: Segment 2 Cell 2 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell3TempStatus: + id: 221 + motec_name: Segment 2 Cell 3 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell4TempStatus: + id: 222 + motec_name: Segment 2 Cell 4 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell5TempStatus: + id: 223 + motec_name: Segment 2 Cell 5 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell6TempStatus: + id: 224 + motec_name: Segment 2 Cell 6 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell7TempStatus: + id: 225 + motec_name: Segment 2 Cell 7 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell8TempStatus: + id: 226 + motec_name: Segment 2 Cell 8 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell9TempStatus: + id: 227 + motec_name: Segment 2 Cell 9 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell10TempStatus: + id: 228 + motec_name: Segment 2 Cell 10 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell11TempStatus: + id: 229 + motec_name: Segment 2 Cell 11 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg2Cell12TempStatus: + id: 230 + motec_name: Segment 2 Cell 12 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END SEGMENT 2 + # Segment 3 Overall + seg3Voltage_V: + id: 231 + motec_name: Segment 3 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3BMBMaxBoardTemp_C: + id: 232 + motec_name: Segment 3 BMB Max Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3BMBMinBoardTemp_C: + id: 233 + motec_name: Segment 3 BMB Min Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3BMBAveBoardTemp_C: + id: 234 + motec_name: Segment 3 BMB Ave Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3MaxCellVoltage_V: + id: 235 + motec_name: Segment 3 Max Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3MinCellVoltage_V: + id: 236 + motec_name: Segment 3 Min Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3AveCellVoltage_V: + id: 237 + motec_name: Segment 3 Average Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3MaxCellTemp_C: + id: 238 + motec_name: Segment 3 Max Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3MinCellTemp_C: + id: 239 + motec_name: Segment 3 Min Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3AveCellTemp_C: + id: 240 + motec_name: Segment 3 Ave Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 3 BMB Board Temps + seg3BMBBoardTemp1_C: + id: 241 + motec_name: Segment 3 BMB Board Temp 1 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3BMBBoardTemp2_C: + id: 242 + motec_name: Segment 3 BMB Board Temp 2 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3BMBBoardTemp3_C: + id: 243 + motec_name: Segment 3 BMB Board Temp 3 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3BMBBoardTemp4_C: + id: 244 + motec_name: Segment 3 BMB Board Temp 4 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 3 Voltage + seg3Cell1Voltage_V: + id: 245 + motec_name: Segment 3 Cell 1 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell2Voltage_V: + id: 246 + motec_name: Segment 3 Cell 2 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell3Voltage_V: + id: 247 + motec_name: Segment 3 Cell 3 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell4Voltage_V: + id: 248 + motec_name: Segment 3 Cell 4 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell5Voltage_V: + id: 249 + motec_name: Segment 3 Cell 5 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell6Voltage_V: + id: 250 + motec_name: Segment 3 Cell 6 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell7Voltage_V: + id: 251 + motec_name: Segment 3 Cell 7 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell8Voltage_V: + id: 252 + motec_name: Segment 3 Cell 8 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell9Voltage_V: + id: 253 + motec_name: Segment 3 Cell 9 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell10Voltage_V: + id: 254 + motec_name: Segment 3 Cell 10 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell11Voltage_V: + id: 255 + motec_name: Segment 3 Cell 11 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg3Cell12Voltage_V: + id: 256 + motec_name: Segment 3 Cell 12 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # Segment 3 Temp + seg3Cell1Temp_C: + id: 257 + motec_name: Segment 3 Cell 1 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell2Temp_C: + id: 258 + motec_name: Segment 3 Cell 2 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell3Temp_C: + id: 259 + motec_name: Segment 3 Cell 3 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell4Temp_C: + id: 260 + motec_name: Segment 3 Cell 4 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell5Temp_C: + id: 261 + motec_name: Segment 3 Cell 5 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell6Temp_C: + id: 262 + motec_name: Segment 3 Cell 6 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell7Temp_C: + id: 263 + motec_name: Segment 3 Cell 7 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell8Temp_C: + id: 264 + motec_name: Segment 3 Cell 8 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell9Temp_C: + id: 265 + motec_name: Segment 3 Cell 9 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell10Temp_C: + id: 266 + motec_name: Segment 3 Cell 10 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell11Temp_C: + id: 267 + motec_name: Segment 3 Cell 11 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg3Cell12Temp_C: + id: 268 + motec_name: Segment 3 Cell 12 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 3 Voltage Status + seg3Cell1VoltageStatus: + id: 269 + motec_name: Segment 3 Cell 1 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell2VoltageStatus: + id: 270 + motec_name: Segment 3 Cell 2 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell3VoltageStatus: + id: 271 + motec_name: Segment 3 Cell 3 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell4VoltageStatus: + id: 272 + motec_name: Segment 3 Cell 4 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell5VoltageStatus: + id: 273 + motec_name: Segment 3 Cell 5 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell6VoltageStatus: + id: 274 + motec_name: Segment 3 Cell 6 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell7VoltageStatus: + id: 275 + motec_name: Segment 3 Cell 7 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell8VoltageStatus: + id: 276 + motec_name: Segment 3 Cell 8 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell9VoltageStatus: + id: 277 + motec_name: Segment 3 Cell 9 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell10VoltageStatus: + id: 278 + motec_name: Segment 3 Cell 10 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell11VoltageStatus: + id: 279 + motec_name: Segment 3 Cell 11 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell12VoltageStatus: + id: 280 + motec_name: Segment 3 Cell 12 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Segment 3 Temp Status + seg3Cell1TempStatus: + id: 281 + motec_name: Segment 3 Cell 1 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell2TempStatus: + id: 282 + motec_name: Segment 3 Cell 2 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell3TempStatus: + id: 283 + motec_name: Segment 3 Cell 3 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell4TempStatus: + id: 284 + motec_name: Segment 3 Cell 4 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell5TempStatus: + id: 285 + motec_name: Segment 3 Cell 5 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell6TempStatus: + id: 286 + motec_name: Segment 3 Cell 6 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell7TempStatus: + id: 287 + motec_name: Segment 3 Cell 7 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell8TempStatus: + id: 288 + motec_name: Segment 3 Cell 8 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell9TempStatus: + id: 289 + motec_name: Segment 3 Cell 9 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell10TempStatus: + id: 290 + motec_name: Segment 3 Cell 10 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell11TempStatus: + id: 291 + motec_name: Segment 3 Cell 11 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg3Cell12TempStatus: + id: 292 + motec_name: Segment 3 Cell 12 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END SEGMENT 3 + # Segment 4 Overall + seg4Voltage_V: + id: 293 + motec_name: Segment 4 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4BMBMaxBoardTemp_C: + id: 294 + motec_name: Segment 4 BMB Max Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4BMBMinBoardTemp_C: + id: 295 + motec_name: Segment 4 BMB Min Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4BMBAveBoardTemp_C: + id: 296 + motec_name: Segment 4 BMB Ave Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4MaxCellVoltage_V: + id: 297 + motec_name: Segment 4 Max Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4MinCellVoltage_V: + id: 298 + motec_name: Segment 4 Min Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4AveCellVoltage_V: + id: 299 + motec_name: Segment 4 Average Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4MaxCellTemp_C: + id: 300 + motec_name: Segment 4 Max Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4MinCellTemp_C: + id: 301 + motec_name: Segment 4 Min Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4AveCellTemp_C: + id: 302 + motec_name: Segment 4 Ave Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 4 BMB Board Temps + seg4BMBBoardTemp1_C: + id: 303 + motec_name: Segment 4 BMB Board Temp 1 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4BMBBoardTemp2_C: + id: 304 + motec_name: Segment 4 BMB Board Temp 2 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4BMBBoardTemp3_C: + id: 305 + motec_name: Segment 4 BMB Board Temp 3 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4BMBBoardTemp4_C: + id: 306 + motec_name: Segment 4 BMB Board Temp 4 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 4 Voltage + seg4Cell1Voltage_V: + id: 307 + motec_name: Segment 4 Cell 1 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell2Voltage_V: + id: 308 + motec_name: Segment 4 Cell 2 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell3Voltage_V: + id: 309 + motec_name: Segment 4 Cell 3 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell4Voltage_V: + id: 310 + motec_name: Segment 4 Cell 4 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell5Voltage_V: + id: 311 + motec_name: Segment 4 Cell 5 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell6Voltage_V: + id: 312 + motec_name: Segment 4 Cell 6 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell7Voltage_V: + id: 313 + motec_name: Segment 4 Cell 7 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell8Voltage_V: + id: 314 + motec_name: Segment 4 Cell 8 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell9Voltage_V: + id: 315 + motec_name: Segment 4 Cell 9 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell10Voltage_V: + id: 316 + motec_name: Segment 4 Cell 10 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell11Voltage_V: + id: 317 + motec_name: Segment 4 Cell 11 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg4Cell12Voltage_V: + id: 318 + motec_name: Segment 4 Cell 12 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # Segment 4 Temp + seg4Cell1Temp_C: + id: 319 + motec_name: Segment 4 Cell 1 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell2Temp_C: + id: 320 + motec_name: Segment 4 Cell 2 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell3Temp_C: + id: 321 + motec_name: Segment 4 Cell 3 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell4Temp_C: + id: 322 + motec_name: Segment 4 Cell 4 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell5Temp_C: + id: 323 + motec_name: Segment 4 Cell 5 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell6Temp_C: + id: 324 + motec_name: Segment 4 Cell 6 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell7Temp_C: + id: 325 + motec_name: Segment 4 Cell 7 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell8Temp_C: + id: 326 + motec_name: Segment 4 Cell 8 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell9Temp_C: + id: 327 + motec_name: Segment 4 Cell 9 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell10Temp_C: + id: 328 + motec_name: Segment 4 Cell 10 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell11Temp_C: + id: 329 + motec_name: Segment 4 Cell 11 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg4Cell12Temp_C: + id: 330 + motec_name: Segment 4 Cell 12 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 4 Voltage Status + seg4Cell1VoltageStatus: + id: 331 + motec_name: Segment 4 Cell 1 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell2VoltageStatus: + id: 332 + motec_name: Segment 4 Cell 2 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell3VoltageStatus: + id: 333 + motec_name: Segment 4 Cell 3 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell4VoltageStatus: + id: 334 + motec_name: Segment 4 Cell 4 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell5VoltageStatus: + id: 335 + motec_name: Segment 4 Cell 5 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell6VoltageStatus: + id: 336 + motec_name: Segment 4 Cell 6 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell7VoltageStatus: + id: 337 + motec_name: Segment 4 Cell 7 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell8VoltageStatus: + id: 338 + motec_name: Segment 4 Cell 8 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell9VoltageStatus: + id: 339 + motec_name: Segment 4 Cell 9 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell10VoltageStatus: + id: 340 + motec_name: Segment 4 Cell 10 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell11VoltageStatus: + id: 341 + motec_name: Segment 4 Cell 11 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell12VoltageStatus: + id: 342 + motec_name: Segment 4 Cell 12 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Segment 4 Temp Status + seg4Cell1TempStatus: + id: 343 + motec_name: Segment 4 Cell 1 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell2TempStatus: + id: 344 + motec_name: Segment 4 Cell 2 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell3TempStatus: + id: 345 + motec_name: Segment 4 Cell 3 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell4TempStatus: + id: 346 + motec_name: Segment 4 Cell 4 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell5TempStatus: + id: 347 + motec_name: Segment 4 Cell 5 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell6TempStatus: + id: 348 + motec_name: Segment 4 Cell 6 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell7TempStatus: + id: 349 + motec_name: Segment 4 Cell 7 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell8TempStatus: + id: 350 + motec_name: Segment 4 Cell 8 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell9TempStatus: + id: 351 + motec_name: Segment 4 Cell 9 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell10TempStatus: + id: 352 + motec_name: Segment 4 Cell 10 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell11TempStatus: + id: 353 + motec_name: Segment 4 Cell 11 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg4Cell12TempStatus: + id: 354 + motec_name: Segment 4 Cell 12 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END SEGMENT 4 + # Segment 5 Overall + seg5Voltage_V: + id: 355 + motec_name: Segment 5 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5BMBMaxBoardTemp_C: + id: 356 + motec_name: Segment 5 BMB Max Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5BMBMinBoardTemp_C: + id: 357 + motec_name: Segment 5 BMB Min Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5BMBAveBoardTemp_C: + id: 358 + motec_name: Segment 5 BMB Ave Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5MaxCellVoltage_V: + id: 359 + motec_name: Segment 5 Max Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5MinCellVoltage_V: + id: 360 + motec_name: Segment 5 Min Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5AveCellVoltage_V: + id: 361 + motec_name: Segment 5 Average Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5MaxCellTemp_C: + id: 362 + motec_name: Segment 5 Max Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5MinCellTemp_C: + id: 363 + motec_name: Segment 5 Min Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5AveCellTemp_C: + id: 364 + motec_name: Segment 5 Ave Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 5 BMB Board Temps + seg5BMBBoardTemp1_C: + id: 365 + motec_name: Segment 5 BMB Board Temp 1 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5BMBBoardTemp2_C: + id: 366 + motec_name: Segment 5 BMB Board Temp 2 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5BMBBoardTemp3_C: + id: 367 + motec_name: Segment 5 BMB Board Temp 3 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5BMBBoardTemp4_C: + id: 368 + motec_name: Segment 5 BMB Board Temp 4 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 5 Voltage + seg5Cell1Voltage_V: + id: 369 + motec_name: Segment 5 Cell 1 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell2Voltage_V: + id: 370 + motec_name: Segment 5 Cell 2 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell3Voltage_V: + id: 371 + motec_name: Segment 5 Cell 3 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell4Voltage_V: + id: 372 + motec_name: Segment 5 Cell 4 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell5Voltage_V: + id: 373 + motec_name: Segment 5 Cell 5 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell6Voltage_V: + id: 374 + motec_name: Segment 5 Cell 6 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell7Voltage_V: + id: 375 + motec_name: Segment 5 Cell 7 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell8Voltage_V: + id: 376 + motec_name: Segment 5 Cell 8 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell9Voltage_V: + id: 377 + motec_name: Segment 5 Cell 9 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell10Voltage_V: + id: 378 + motec_name: Segment 5 Cell 10 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell11Voltage_V: + id: 379 + motec_name: Segment 5 Cell 11 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg5Cell12Voltage_V: + id: 380 + motec_name: Segment 5 Cell 12 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # Segment 5 Temp + seg5Cell1Temp_C: + id: 381 + motec_name: Segment 5 Cell 1 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell2Temp_C: + id: 382 + motec_name: Segment 5 Cell 2 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell3Temp_C: + id: 383 + motec_name: Segment 5 Cell 3 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell4Temp_C: + id: 384 + motec_name: Segment 5 Cell 4 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell5Temp_C: + id: 385 + motec_name: Segment 5 Cell 5 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell6Temp_C: + id: 386 + motec_name: Segment 5 Cell 6 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell7Temp_C: + id: 387 + motec_name: Segment 5 Cell 7 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell8Temp_C: + id: 388 + motec_name: Segment 5 Cell 8 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell9Temp_C: + id: 389 + motec_name: Segment 5 Cell 9 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell10Temp_C: + id: 390 + motec_name: Segment 5 Cell 10 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell11Temp_C: + id: 391 + motec_name: Segment 5 Cell 11 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg5Cell12Temp_C: + id: 392 + motec_name: Segment 5 Cell 12 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 5 Voltage Status + seg5Cell1VoltageStatus: + id: 393 + motec_name: Segment 5 Cell 1 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell2VoltageStatus: + id: 394 + motec_name: Segment 5 Cell 2 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell3VoltageStatus: + id: 395 + motec_name: Segment 5 Cell 3 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell4VoltageStatus: + id: 396 + motec_name: Segment 5 Cell 4 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell5VoltageStatus: + id: 397 + motec_name: Segment 5 Cell 5 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell6VoltageStatus: + id: 398 + motec_name: Segment 5 Cell 6 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell7VoltageStatus: + id: 399 + motec_name: Segment 5 Cell 7 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell8VoltageStatus: + id: 400 + motec_name: Segment 5 Cell 8 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell9VoltageStatus: + id: 401 + motec_name: Segment 5 Cell 9 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell10VoltageStatus: + id: 402 + motec_name: Segment 5 Cell 10 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell11VoltageStatus: + id: 403 + motec_name: Segment 5 Cell 11 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell12VoltageStatus: + id: 404 + motec_name: Segment 5 Cell 12 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Segment 5 Temp Status + seg5Cell1TempStatus: + id: 405 + motec_name: Segment 5 Cell 1 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell2TempStatus: + id: 406 + motec_name: Segment 5 Cell 2 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell3TempStatus: + id: 407 + motec_name: Segment 5 Cell 3 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell4TempStatus: + id: 408 + motec_name: Segment 5 Cell 4 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell5TempStatus: + id: 409 + motec_name: Segment 5 Cell 5 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell6TempStatus: + id: 410 + motec_name: Segment 5 Cell 6 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell7TempStatus: + id: 411 + motec_name: Segment 5 Cell 7 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell8TempStatus: + id: 412 + motec_name: Segment 5 Cell 8 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell9TempStatus: + id: 413 + motec_name: Segment 5 Cell 9 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell10TempStatus: + id: 414 + motec_name: Segment 5 Cell 10 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell11TempStatus: + id: 415 + motec_name: Segment 5 Cell 11 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg5Cell12TempStatus: + id: 416 + motec_name: Segment 5 Cell 12 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END SEGMENT 5 + # Segment 6 Overall + seg6Voltage_V: + id: 417 + motec_name: Segment 6 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6BMBMaxBoardTemp_C: + id: 418 + motec_name: Segment 6 BMB Max Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6BMBMinBoardTemp_C: + id: 419 + motec_name: Segment 6 BMB Min Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6BMBAveBoardTemp_C: + id: 420 + motec_name: Segment 6 BMB Ave Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6MaxCellVoltage_V: + id: 421 + motec_name: Segment 6 Max Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6MinCellVoltage_V: + id: 422 + motec_name: Segment 6 Min Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6AveCellVoltage_V: + id: 423 + motec_name: Segment 6 Average Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6MaxCellTemp_C: + id: 424 + motec_name: Segment 6 Max Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6MinCellTemp_C: + id: 425 + motec_name: Segment 6 Min Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6AveCellTemp_C: + id: 426 + motec_name: Segment 6 Ave Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 6 BMB Board Temps + seg6BMBBoardTemp1_C: + id: 427 + motec_name: Segment 6 BMB Board Temp 1 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6BMBBoardTemp2_C: + id: 428 + motec_name: Segment 6 BMB Board Temp 2 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6BMBBoardTemp3_C: + id: 429 + motec_name: Segment 6 BMB Board Temp 3 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6BMBBoardTemp4_C: + id: 430 + motec_name: Segment 6 BMB Board Temp 4 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 6 Voltage + seg6Cell1Voltage_V: + id: 431 + motec_name: Segment 6 Cell 1 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell2Voltage_V: + id: 432 + motec_name: Segment 6 Cell 2 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell3Voltage_V: + id: 433 + motec_name: Segment 6 Cell 3 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell4Voltage_V: + id: 434 + motec_name: Segment 6 Cell 4 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell5Voltage_V: + id: 435 + motec_name: Segment 6 Cell 5 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell6Voltage_V: + id: 436 + motec_name: Segment 6 Cell 6 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell7Voltage_V: + id: 437 + motec_name: Segment 6 Cell 7 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell8Voltage_V: + id: 438 + motec_name: Segment 6 Cell 8 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell9Voltage_V: + id: 439 + motec_name: Segment 6 Cell 9 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell10Voltage_V: + id: 440 + motec_name: Segment 6 Cell 10 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell11Voltage_V: + id: 441 + motec_name: Segment 6 Cell 11 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg6Cell12Voltage_V: + id: 442 + motec_name: Segment 6 Cell 12 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # Segment 6 Temp + seg6Cell1Temp_C: + id: 443 + motec_name: Segment 6 Cell 1 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell2Temp_C: + id: 444 + motec_name: Segment 6 Cell 2 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell3Temp_C: + id: 445 + motec_name: Segment 6 Cell 3 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell4Temp_C: + id: 446 + motec_name: Segment 6 Cell 4 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell5Temp_C: + id: 447 + motec_name: Segment 6 Cell 5 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell6Temp_C: + id: 448 + motec_name: Segment 6 Cell 6 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell7Temp_C: + id: 449 + motec_name: Segment 6 Cell 7 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell8Temp_C: + id: 450 + motec_name: Segment 6 Cell 8 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell9Temp_C: + id: 451 + motec_name: Segment 6 Cell 9 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell10Temp_C: + id: 452 + motec_name: Segment 6 Cell 10 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell11Temp_C: + id: 453 + motec_name: Segment 6 Cell 11 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg6Cell12Temp_C: + id: 454 + motec_name: Segment 6 Cell 12 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 6 Voltage Status + seg6Cell1VoltageStatus: + id: 455 + motec_name: Segment 6 Cell 1 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell2VoltageStatus: + id: 456 + motec_name: Segment 6 Cell 2 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell3VoltageStatus: + id: 457 + motec_name: Segment 6 Cell 3 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell4VoltageStatus: + id: 458 + motec_name: Segment 6 Cell 4 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell5VoltageStatus: + id: 459 + motec_name: Segment 6 Cell 5 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell6VoltageStatus: + id: 460 + motec_name: Segment 6 Cell 6 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell7VoltageStatus: + id: 461 + motec_name: Segment 6 Cell 7 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell8VoltageStatus: + id: 462 + motec_name: Segment 6 Cell 8 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell9VoltageStatus: + id: 463 + motec_name: Segment 6 Cell 9 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell10VoltageStatus: + id: 464 + motec_name: Segment 6 Cell 10 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell11VoltageStatus: + id: 465 + motec_name: Segment 6 Cell 11 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell12VoltageStatus: + id: 466 + motec_name: Segment 6 Cell 12 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Segment 6 Temp Status + seg6Cell1TempStatus: + id: 467 + motec_name: Segment 6 Cell 1 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell2TempStatus: + id: 468 + motec_name: Segment 6 Cell 2 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell3TempStatus: + id: 469 + motec_name: Segment 6 Cell 3 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell4TempStatus: + id: 470 + motec_name: Segment 6 Cell 4 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell5TempStatus: + id: 471 + motec_name: Segment 6 Cell 5 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell6TempStatus: + id: 472 + motec_name: Segment 6 Cell 6 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell7TempStatus: + id: 473 + motec_name: Segment 6 Cell 7 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell8TempStatus: + id: 474 + motec_name: Segment 6 Cell 8 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell9TempStatus: + id: 475 + motec_name: Segment 6 Cell 9 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell10TempStatus: + id: 476 + motec_name: Segment 6 Cell 10 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell11TempStatus: + id: 477 + motec_name: Segment 6 Cell 11 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg6Cell12TempStatus: + id: 478 + motec_name: Segment 6 Cell 12 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END SEGMENT 6 + # Segment 7 Overall + seg7Voltage_V: + id: 479 + motec_name: Segment 7 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7BMBMaxBoardTemp_C: + id: 480 + motec_name: Segment 7 BMB Max Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7BMBMinBoardTemp_C: + id: 481 + motec_name: Segment 7 BMB Min Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7BMBAveBoardTemp_C: + id: 482 + motec_name: Segment 7 BMB Ave Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7MaxCellVoltage_V: + id: 483 + motec_name: Segment 7 Max Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7MinCellVoltage_V: + id: 484 + motec_name: Segment 7 Min Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7AveCellVoltage_V: + id: 485 + motec_name: Segment 7 Average Cell Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7MaxCellTemp_C: + id: 486 + motec_name: Segment 7 Max Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7MinCellTemp_C: + id: 487 + motec_name: Segment 7 Min Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7AveCellTemp_C: + id: 488 + motec_name: Segment 7 Ave Cell Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 7 BMB Board Temps + seg7BMBBoardTemp1_C: + id: 489 + motec_name: Segment 7 BMB Board Temp 1 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7BMBBoardTemp2_C: + id: 490 + motec_name: Segment 7 BMB Board Temp 2 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7BMBBoardTemp3_C: + id: 491 + motec_name: Segment 7 BMB Board Temp 3 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7BMBBoardTemp4_C: + id: 492 + motec_name: Segment 7 BMB Board Temp 4 + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 7 Voltage + seg7Cell1Voltage_V: + id: 493 + motec_name: Segment 7 Cell 1 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell2Voltage_V: + id: 494 + motec_name: Segment 7 Cell 2 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell3Voltage_V: + id: 495 + motec_name: Segment 7 Cell 3 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell4Voltage_V: + id: 496 + motec_name: Segment 7 Cell 4 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell5Voltage_V: + id: 497 + motec_name: Segment 7 Cell 5 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell6Voltage_V: + id: 498 + motec_name: Segment 7 Cell 6 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell7Voltage_V: + id: 499 + motec_name: Segment 7 Cell 7 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell8Voltage_V: + id: 500 + motec_name: Segment 7 Cell 8 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell9Voltage_V: + id: 501 + motec_name: Segment 7 Cell 9 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell10Voltage_V: + id: 502 + motec_name: Segment 7 Cell 10 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell11Voltage_V: + id: 503 + motec_name: Segment 7 Cell 11 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + seg7Cell12Voltage_V: + id: 504 + motec_name: Segment 7 Cell 12 Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + # Segment 7 Temp + seg7Cell1Temp_C: + id: 505 + motec_name: Segment 7 Cell 1 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell2Temp_C: + id: 506 + motec_name: Segment 7 Cell 2 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell3Temp_C: + id: 507 + motec_name: Segment 7 Cell 3 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell4Temp_C: + id: 508 + motec_name: Segment 7 Cell 4 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell5Temp_C: + id: 509 + motec_name: Segment 7 Cell 5 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell6Temp_C: + id: 510 + motec_name: Segment 7 Cell 6 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell7Temp_C: + id: 511 + motec_name: Segment 7 Cell 7 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell8Temp_C: + id: 512 + motec_name: Segment 7 Cell 8 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell9Temp_C: + id: 513 + motec_name: Segment 7 Cell 9 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell10Temp_C: + id: 514 + motec_name: Segment 7 Cell 10 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell11Temp_C: + id: 515 + motec_name: Segment 7 Cell 11 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + seg7Cell12Temp_C: + id: 516 + motec_name: Segment 7 Cell 12 Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Segment 7 Voltage Status + seg7Cell1VoltageStatus: + id: 517 + motec_name: Segment 7 Cell 1 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell2VoltageStatus: + id: 518 + motec_name: Segment 7 Cell 2 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell3VoltageStatus: + id: 519 + motec_name: Segment 7 Cell 3 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell4VoltageStatus: + id: 520 + motec_name: Segment 7 Cell 4 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell5VoltageStatus: + id: 521 + motec_name: Segment 7 Cell 5 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell6VoltageStatus: + id: 522 + motec_name: Segment 7 Cell 6 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell7VoltageStatus: + id: 523 + motec_name: Segment 7 Cell 7 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell8VoltageStatus: + id: 524 + motec_name: Segment 7 Cell 8 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell9VoltageStatus: + id: 525 + motec_name: Segment 7 Cell 9 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell10VoltageStatus: + id: 526 + motec_name: Segment 7 Cell 10 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell11VoltageStatus: + id: 527 + motec_name: Segment 7 Cell 11 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell12VoltageStatus: + id: 528 + motec_name: Segment 7 Cell 12 Voltage Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Segment 7 Temp Status + seg7Cell1TempStatus: + id: 529 + motec_name: Segment 7 Cell 1 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell2TempStatus: + id: 530 + motec_name: Segment 7 Cell 2 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell3TempStatus: + id: 531 + motec_name: Segment 7 Cell 3 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell4TempStatus: + id: 532 + motec_name: Segment 7 Cell 4 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell5TempStatus: + id: 533 + motec_name: Segment 7 Cell 5 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell6TempStatus: + id: 534 + motec_name: Segment 7 Cell 6 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell7TempStatus: + id: 535 + motec_name: Segment 7 Cell 7 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell8TempStatus: + id: 536 + motec_name: Segment 7 Cell 8 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell9TempStatus: + id: 537 + motec_name: Segment 7 Cell 9 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell10TempStatus: + id: 538 + motec_name: Segment 7 Cell 10 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell11TempStatus: + id: 539 + motec_name: Segment 7 Cell 11 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + seg7Cell12TempStatus: + id: 540 + motec_name: Segment 7 Cell 12 Temp Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END SEGMENT 7 + # Display Info + bmsAveBrickVoltage_V: + id: 541 + motec_name: BMS Average Brick Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + bmsMaxBrickVoltage_V: + id: 542 + motec_name: BMS Max Brick Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + bmsMinBrickVoltage_V: + id: 543 + motec_name: BMS Min Brick Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.001 + offset: 0 + + bmsAveBrickTemp_C: + id: 544 + motec_name: BMS Average Brick Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + bmsMaxBrickTemp_C: + id: 545 + motec_name: BMS Max Brick Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + bmsMinBrickTemp_C: + id: 546 + motec_name: BMS Min Brick Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + bmsAveBoardTemp_C: + id: 547 + motec_name: BMS Average Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + bmsMaxBoardTemp_C: + id: 548 + motec_name: BMS Max Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + bmsMinBoardTemp_C: + id: 549 + motec_name: BMS Min Board Temp + unit: C + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -40 + + # Error states + amsFault_state: + id: 550 + motec_name: AMS Fault State + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + imdFault_state: + id: 551 + motec_name: IMD Fault State + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bspdFault_state: + id: 552 + motec_name: BSPD Fault State + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + imdFaultInfo_state: + id: 553 + motec_name: IMD Fault Information + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsNumActiveAlerts_state: + id: 554 + motec_name: BMS Num Active Alerts + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsCurrAlertIndex_state: + id: 555 + motec_name: BMS Current Alert Index + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsAlertMessage_state: + id: 556 + motec_name: BMS Alert Message + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsCurrAlertIsLatched_state: + id: 557 + motec_name: BMS Alert Message + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + #Faults + bmsOvervoltageFaultAlert_state: + id: 558 + motec_name: BMS Overvoltage Fault Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsUndervoltageFaultAlert_state: + id: 559 + motec_name: BMS Undervoltage Fault Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsOvertempFaultAlert_state: + id: 560 + motec_name: BMS Overtemp Fault Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsBmbCommunicationFailureAlert_state: + id: 561 + motec_name: BMS BMB Communication Failure Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsBadVoltageSenseStatusAlert_state: + id: 562 + motec_name: BMS Bad Voltage Status Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsInsufficientTempSensorsAlert_state: + id: 563 + motec_name: BMS Insufficient Temp Sensors Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerOverVoltageAlert_state: + id: 564 + motec_name: BMS Charger Over Votlage Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerOverCurrentAlert_state: + id: 565 + motec_name: BMS Charger Over Current Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerVoltageMismatchAlert_state: + id: 566 + motec_name: BMS Charger Voltage Mismatch Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerCurrentMismatchAlert_state: + id: 567 + motec_name: BMS Charger Current Mismatch Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerHardwareFailureAlert_state: + id: 568 + motec_name: BMS Charger Hardware Failure Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerOverTempAlert_state: + id: 569 + motec_name: BMS Charger Over Temp Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # Other Alerts + bmsOvervoltageWarningAlert_state: + id: 570 + motec_name: BMS Overvoltage Warning Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsUndervoltageWarningAlert_state: + id: 571 + motec_name: BMS Undervoltage Warning Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsCellImbalanceAlert_state: + id: 572 + motec_name: BMS Cell Imbalance Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsOvertempWarningAlert_state: + id: 573 + motec_name: BMS Overtemp Warning Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsAmsSdcFaultAlert_state: + id: 574 + motec_name: BMS AMS SDC Fault Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsBspdSdcFaultAlert_state: + id: 575 + motec_name: BMS BSPD SDC Fault Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsImdSdcFaultAlert_state: + id: 576 + motec_name: BMS IMD SDC Fault Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsCurrentSensorErrorAlert_state: + id: 577 + motec_name: BMS Current Sensor Error Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsBadBrickTempSenseStatusAlert_state: + id: 578 + motec_name: BMS Bad Brick Temp Status Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsBadBoardTempSenseStatusAlert_state: + id: 579 + motec_name: BMS Bad Board Temp Sense Status + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsStackVsSegmentImbalanceAlert_state: + id: 580 + motec_name: BMS Stack Vs Segment Imbalance Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerInputVoltageErrorAlert_state: + id: 581 + motec_name: BMS Charger Input Voltage Error Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerBatteryNotDetectedErrorAlert_state: + id: 582 + motec_name: BMS Charger Battery Not Detected Error Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + bmsChargerCommunicationErrorAlert_state: + id: 583 + motec_name: BMS Charger Communication Error Alert + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END Error States + # Tractive System Currents + bmsTractiveSystemCurrentLow_A: + id: 584 + motec_name: Tractive System Current Low (BMS) + unit: A + type: FLOATING + encoding: MSB + scale: 0.01 + offset: -100 + + bmsTractiveSystemCurrentHigh_A: + id: 585 + motec_name: Tractive System Current High (BMS) + unit: A + type: FLOATING + encoding: MSB + scale: 0.1 + offset: -1000 + + # END BMS + # Sensor Hub Front + brakePressureRear_psi: + id: 586 + motec_name: Brake Pres Rear + unit: psi + type: FLOATING + encoding: MSB + scale: 0.488400488 # [0-2000] -> [0-4095] + offset: 0 + + + brakeTempFrontLeft_C: + id: 587 + motec_name: Brake Temp FL + unit: C + type: FLOATING + encoding: MSB + scale: 0.195360195 # [0-800] -> [0-4095] + offset: 0 + + brakeTempFrontRight_C: + id: 588 + motec_name: Brake Temp FR + unit: C + type: FLOATING + encoding: MSB + scale: 0.195360195 # [0-800] -> [0-4095] + offset: 0 + + steeringAngle_deg: + id: 589 + motec_name: Steered Angle + unit: deg + type: FLOATING + encoding: MSB + scale: 0.0879120879 # [0-360] -> [0-4095] + offset: 0 + + shockPosFrontLeft_mm: + id: 590 + motec_name: Susp Pos FL + unit: mm + type: FLOATING + encoding: MSB + scale: 0.00610500611 # [0-25] -> [0-4095] + offset: 0 + + shockPosFrontRight_mm: + id: 591 + motec_name: Susp Pos FR + unit: mm + type: FLOATING + encoding: MSB + scale: 0.00610500611 # [0-25] -> [0-4095] + offset: 0 + + pittoTubePressure_psi: + id: 592 + motec_name: Pitto Tube + unit: psi + type: FLOATING + encoding: MSB + scale: 0.01 + offset: 0 + + wheelSpeedFrontLeft_mph: + id: 593 + motec_name: Wheel Speed FL + unit: mph + type: FLOATING + encoding: MSB + scale: 0.0022888532839715480804443359375 # [0-150] -> [0-65535] + offset: 0 + + wheelSpeedFrontRight_mph: + id: 594 + motec_name: Wheel Speed FR + unit: mph + type: FLOATING + encoding: MSB + scale: 0.0022888532839715480804443359375 # [0-150] -> [0-65535] + offset: 0 + # END SH_F + # Sensor Hub Rear + radWaterTempIn_C: + id: 595 + motec_name: Rad Water Temp In + unit: C + type: FLOATING + encoding: MSB + scale: 0.0488400488 # [0-200] -> [0-4095] + offset: 0 + + radWaterTempOut_C: + id: 596 + motec_name: Rad Water Temp Out + unit: C + type: FLOATING + encoding: MSB + scale: 0.0488400488 # [0-200] -> [0-4095] + offset: 0 + + shockPosRearLeft_mm: + id: 597 + motec_name: Susp Pos RL + unit: mm + type: FLOATING + encoding: MSB + scale: 0.00610500611 # [0-25] -> [0-4095] + offset: 0 + + shockPosRearRight_mm: + id: 598 + motec_name: Susp Pos RR + unit: mm + type: FLOATING + encoding: MSB + scale: 0.00610500611 # [0-25] -> [0-4095] + offset: 0 + + wheelSpeedRearLeft_mph: + id: 599 + motec_name: Wheel Speed RL + unit: mph + type: FLOATING + encoding: MSB + scale: 0.0022888532839715480804443359375 # [0-150] -> [0-65535] + offset: 0 + + wheelSpeedRearRight_mph: + id: 600 + motec_name: Wheel Speed RR + unit: mph + type: FLOATING + encoding: MSB + scale: 0.0022888532839715480804443359375 # [0-150] -> [0-65535] + offset: 0 + # END SH_R + # Power and Logging Module Sensing + plmVbatVoltage_V: + id: 601 + motec_name: PLM Battery Volts + unit: V + type: FLOATING + encoding: MSB + scale: 0.00506178266 # [0-20.728] -> [0-4095] + offset: 0 + + plm5VVoltage_V: + id: 602 + motec_name: PLM 5V Voltage + unit: V + type: FLOATING + encoding: MSB + scale: 0.00195457875 # [0-8.004] -> [0-4095] + offset: 0 + + vbatChan0Current_A: + id: 603 + motec_name: VBat Channel 0 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00741391941 # [0-30.36] -> [0-4095] + offset: 0 + + vbatChan1Current_A: + id: 604 + motec_name: VBat Channel 1 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00741391941 # [0-30.36] -> [0-4095] + offset: 0 + + vbatChan2Current_A: + id: 605 + motec_name: VBat Channel 2 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00741391941 # [0-30.36] -> [0-4095] + offset: 0 + + vbatChan3Current_A: + id: 606 + motec_name: VBat Channel 3 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00741391941 # [0-30.36] -> [0-4095] + offset: 0 + + vbatChan4Current_A: + id: 607 + motec_name: VBat Channel 4 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00741391941 # [0-30.36] -> [0-4095] + offset: 0 + + vbatChan5Current_A: + id: 608 + motec_name: VBat Channel 5 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00741391941 # [0-30.36] -> [0-4095] + offset: 0 + + vbatChan6Current_A: + id: 609 + motec_name: VBat Channel 6 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00741391941 # [0-30.36] -> [0-4095] + offset: 0 + + fiveVChan0Current_A: + id: 610 + motec_name: Five Volts Channel 0 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00196141636 # [0-8.032] -> [0-4095] + offset: 0 + + fiveVChan1Current_A: + id: 611 + motec_name: Five Volts Channel 1 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00196141636 # [0-8.032] -> [0-4095] + offset: 0 + + fiveVChan2Current_A: + id: 612 + motec_name: Five Volts Channel 2 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00196141636 # [0-8.032] -> [0-4095] + offset: 0 + + fiveVChan3Current_A: + id: 613 + motec_name: Five Volts Channel 3 Current + unit: V + type: FLOATING + encoding: MSB + scale: 0.00196141636 # [0-8.032] -> [0-4095] + offset: 0 + + # Power and Logging Module Internal + can0Utilization_percent: + id: 614 + motec_name: Bus0 Utilization + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + can1Utilization_percent: + id: 615 + motec_name: Bus1 Utilization + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + can2Utilization_percent: + id: 616 + motec_name: Bus2 Utilization + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + # END PLM + # Display + # sent over 0x700, latitude than longitude, each 32bit + gpsLatitude_deg: + id: 617 + motec_name: GPS Latitude + unit: deg + type: FLOATING + encoding: MSB + scale: 0.000021457672119140625 # [0-360] -> [0-16777216] + offset: 0 + + gpsLongitude_deg: + id: 618 + motec_name: GPS Longitude + unit: deg + type: FLOATING + encoding: MSB + scale: 0.000021457672119140625 # [0-360] -> [0-16777216] + offset: 0 + + gpsSpeed_mph: + id: 619 + motec_name: GPS Velocity + unit: mph + type: UNSIGNED16 + encoding: MSB + scale: 0.01 + offset: 0 + + gpsAltitude_ft: + id: 620 + motec_name: GPS Altitude + unit: ft + type: SIGNED16 + encoding: MSB + scale: 1 + offset: 0 + + gpsCourse_deg: + id: 621 + motec_name: GPS Course + unit: deg + type: UNSIGNED16 + encoding: MSB + scale: 0.01 + offset: 0 + + gpsSatelliteCount_ul: + id: 622 + motec_name: GPS Satellite Count + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsValid_ul: + id: 623 + motec_name: GPS Satellite Count + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsYearUTC_ul: + id: 624 + motec_name: GPS Year UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsMonthUTC_ul: + id: 625 + motec_name: GPS Month UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsDayUTC_ul: + id: 626 + motec_name: GPS Day UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsHoursUTC_ul: + id: 627 + motec_name: GPS Hours UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsMinutesUTC_ul: + id: 628 + motec_name: GPS Minutes UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + gpsSecondsUTC_ul: + id: 629 + motec_name: GPS Seconds UTC + unit: '' + type: UNSIGNED8 + encoding: MSB + scale: 1 + offset: 0 + + # END DISPLAY + # Inertail Measurement Unit + yawRate_degPerSec: + id: 630 + motec_name: Yaw Rate + unit: deg/s + type: FLOATING + encoding: LSB + scale: 0.005 + offset: -163.84 + + rollRate_degPerSec: + id: 631 + motec_name: Roll Rate + unit: deg/s + type: FLOATING + encoding: LSB + scale: 0.005 + offset: -163.84 + + lateralAccel_G: + id: 632 + motec_name: G Force Lat + unit: G + type: FLOATING + encoding: LSB + scale: 0.0001274 + offset: -4.1746432 + + longitudinalAccel_G: + id: 633 + motec_name: G Force Long + unit: G + type: FLOATING + encoding: LSB + scale: 0.0001274 + offset: -4.1746432 + + verticalAccel_G: + id: 634 + motec_name: G Force Vert + unit: G + type: FLOATING + encoding: LSB + scale: 0.0001274 + offset: -4.1746432 + # END IMU + + # DATA LOGGING + packetsLogged_ul: + id: 635 + motec_name: Packets Logged + unit: '' + type: UNSIGNED32 + encoding: MSB + scale: 1 + offset: 0 + + packetsDropped_ul: + id: 636 + motec_name: Packets Dropped + unit: '' + type: UNSIGNED32 + encoding: MSB + scale: 1 + offset: 0 + + storageBufferFill_percent: + id: 637 + motec_name: Storage Buffer Fill + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + + telemetryBufferFill_percent: + id: 638 + motec_name: Telemetry Buffer Fill + unit: '%' + type: FLOATING + encoding: MSB + scale: 0.1 + offset: 0 + # END DATA LOGGING + + # MISC + lapBeaconRaw_ul: + id: 639 + motec_name: Lap Beacon Raw Message + unit: '' + type: FLOATING + encoding: MSB + scale: 1 + offset: 0 + + lapBeacon_ul: + id: 640 + motec_name: Beacon + unit: '' + type: FLOATING + encoding: MSB + scale: 1 + offset: 0 + # END MISC + +groups: [ + # NOTE: CAN IDs are set as (moduleID-1)*0x100 + (0x50*FrqGroup) + (Message) + # Inverter Low Frequency + # NOTE: No control over these adresses + { + id: 0x0A0, + parameters: [ + {name: igbtATemp_C, start: 0, length: 2}, + {name: igbtBTemp_C, start: 2, length: 2}, + {name: igbtCTemp_C, start: 4, length: 2}, + {name: gateDriverBoardTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x0A1, + parameters: [ + {name: controlBoardTemp_C, start: 0, length: 2}, + {name: rtd1Temp_C, start: 2, length: 2}, + {name: rtd2Temp_C, start: 4, length: 2}, + {name: rtd3Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x0A2, + parameters: [ + {name: coolantTemp_C, start: 0, length: 2}, + {name: hotSpotTemp_C, start: 2, length: 2}, + {name: motorTemp_C, start: 4, length: 2}, + {name: torqueShudder_Nm, start: 6, length: 2} + ] + }, + { + id: 0x0A5, + parameters: [ + {name: motorAngle_deg, start: 0, length: 2}, + {name: motorSpeedLF_rpm, start: 2, length: 2}, + {name: motorACFreq_Hz, start: 4, length: 2}, + {name: deltaResolver_deg, start: 6, length: 2} + ] + }, + { + id: 0x0A6, + parameters: [ + {name: phaseACurrent_A, start: 0, length: 2}, + {name: phaseBCurrent_A, start: 2, length: 2}, + {name: phaseCCurrent_A, start: 4, length: 2}, + {name: dcBusCurrent_A, start: 6, length: 2} + ] + }, + { + id: 0x0A7, + parameters: [ + {name: dcBusVoltageLF_V, start: 0, length: 2}, + {name: peakOutputVoltage_V, start: 2, length: 2}, + {name: vdVoltage_V, start: 4, length: 2}, + {name: vqVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x0A8, + parameters: [ + {name: fluxCommand_Wb, start: 0, length: 2}, + {name: fluxFeedback_Wb, start: 2, length: 2}, + {name: idFeedback_A, start: 4, length: 2}, + {name: iqFeedback_A, start: 6, length: 2} + ] + }, + { + id: 0x0A9, + parameters: [ + {name: vRef1v5_V, start: 0, length: 2}, + {name: vRef2v5_V, start: 2, length: 2}, + {name: vRef5v_V, start: 4, length: 2}, + {name: vRef12v_V, start: 6, length: 2} + ] + }, + { + id: 0x0AA, + parameters: [ + {name: vsmState_state, start: 0, length: 1}, + {name: pwmFreq_kHz, start: 1, length: 1}, + {name: inverterState_state, start: 2, length: 1}, + {name: relayState_state, start: 3, length: 1}, + {name: invStatesByte4_state, start: 4, length: 1}, + {name: invStatesByte5_state, start: 5, length: 1}, + {name: invStatesByte6_state, start: 6, length: 1}, + {name: invStatesByte7_state, start: 7, length: 1} + ] + }, + { + id: 0x0AB, + parameters: [ + {name: postFaultLo_state, start: 0, length: 2}, + {name: postFaultHi_state, start: 2, length: 2}, + {name: runFaultLo_state, start: 4, length: 2}, + {name: runFaultHi_state, start: 6, length: 2} + ] + }, + { + id: 0x0AC, + parameters: [ + {name: activeTorqueCmdLF_Nm, start: 0, length: 2}, + {name: torqueFeedbackLF_Nm, start: 2, length: 2}, + {name: powerOnTimer_s, start: 4, length: 4} + ] + }, + { + id: 0x0AD, + parameters: [ + {name: modulationIndex_ul, start: 0, length: 2}, + {name: fluxWeakeningOutput_A, start: 2, length: 2}, + {name: iqCommand_A, start: 4, length: 2}, + {name: idCommand_A, start: 6, length: 2} + ] + }, + # Inverter High Frequency + { + id: 0x0B0, + parameters: [ + {name: activeTorqueCmd_Nm, start: 0, length: 2}, + {name: torqueFeedback_Nm, start: 2, length: 2}, + {name: motorSpeed_rpm, start: 4, length: 2}, + {name: dcBusVoltage_V, start: 6, length: 2} + ] + }, + # Inverter Command + { + id: 0x0C0, + parameters: [ + {name: torqueCmd_Nm, start: 0, length: 2}, + {name: speedCmd_rpm, start: 2, length: 2}, + {name: cmdDir_state, start: 4, length: 1}, + {name: invCmdFlags_state, start: 5, length: 1}, + {name: torqueCmdLim_Nm, start: 6, length: 2} + ] + }, + # Inverter Read/Write Parameter + { + id: 0x0C1, + parameters: [ + {name: invParameterAddress_state, start: 0, length: 2}, + {name: invParameterRW_state, start: 2, length: 1}, + {name: invParameterReserved1_state, start: 3, length: 1}, + {name: invParameterData_state, start: 4, length: 2}, + {name: invParameterReserved2_state, start: 6, length: 2} + ] + }, + # END INVERTER + + # Vehicle Control Unit Sensors + { + id: 0x200, + parameters: [ + {name: pedalPosition1_mm, start: 0, length: 2}, + {name: pedalPosition2_mm, start: 2, length: 2}, + {name: brakePressureFront_psi, start: 4, length: 2}, + {name: vcuTractiveSystemCurrent_A, start: 6, length: 2} + ] + }, + { + id: 0x201, + parameters: [ + {name: bspdBrakePressureSensorFault_state, start: 0, length: 1}, + {name: bspdPedalPosition1Fault_state, start: 1, length: 1}, + {name: bspdPedalPosition2Fault_state, start: 2, length: 1}, + {name: bspdTractiveSystemCurrentSensorFault_state, start: 3, length: 1}, + {name: bspdTractiveSystemBrakingFault_state, start: 4, length: 1} + ] + }, + { + id: 0x202, + parameters: [ + {name: inverterDischargeLimit_A, start: 0, length: 2}, + {name: inverterChargeLimit_A, start: 2, length: 2}, + {name: pedalPosition1_percent, start: 4, length: 2}, + {name: pedalPosition2_percent, start: 6, length: 2} + ] + }, + { + id: 0x203, + parameters: [ + {name: vcuBrakePressureSensorFault_state, start: 0, length: 1}, + {name: vcuPedalPosition1Fault_state, start: 1, length: 1}, + {name: vcuPedalPosition2Fault_state, start: 2, length: 1}, + {name: vcuTractiveSystemCurrentSensorFault_state, start: 3, length: 1}, + {name: vcuPedalPositionCorrelationFault_state, start: 4, length: 1}, + {name: vcuPedalPositionBrakingFault_state, start: 5, length: 1}, + {name: vcuBrakingClampingCurrent_state, start: 6, length: 1}, + {name: vcuTorqueRequested_Nm, start: 7, length: 1} + ] + }, + { + id: 0x204, + parameters: [ + {name: coolantPumpPressure_psi, start: 0, length: 2}, + {name: coolantFanPower_percent, start: 2, length: 1}, + {name: coolantPumpPower_percent, start: 3, length: 1}, + {name: accumulatorFanPower_percent, start: 4, length: 1}, + ] + }, + { + id: 0x205, + parameters: [ + {name: coolantPumpPressure_psi, start: 0, length: 1}, + {name: coolantFanPower_percent, start: 1, length: 1}, + {name: coolantPumpPower_percent, start: 2, length: 1}, + {name: accumulatorFanPower_percent, start: 3, length: 1}, + ] + }, + { + id: 0x206, + parameters: [ + {name: switch1On_state, start: 1, length: 1}, + {name: switch2On_state, start: 2, length: 1}, + {name: gpio1_state, start: 3, length: 1}, + {name: gpio2_state, start: 4, length: 1}, + {name: vehicleBuzzerOn_state, start: 5, length: 1}, + {name: brakeLightOn_state, start: 6, length: 1}, + {name: readyToDriveButton_state, start: 7, length: 1}, + ] + }, + { + id: 0x207, + parameters: [ + {name: vcuTemp_C, start: 0, length: 2}, + {name: vehicleState_state, start: 2, length: 1}, + {name: vcuState_state, start: 3, length: 1}, + {name: vcuMcuStatus_state, start: 4, length: 1}, + {name: currentlyMoving_state, start: 5, length: 1}, + {name: vcuGSenseStatus_state, start: 6, length: 1}, + {name: displayFaultStatus_state, start: 7, length: 1}, + ] + }, + # END VCU + + # Battery Management System + # Segment 1 + { + id: 0x310, + parameters: [ + {name: seg1Voltage_V, start: 0, length: 2}, + {name: seg1AveCellVoltage_V, start: 2, length: 2}, + {name: seg1MaxCellVoltage_V, start: 4, length: 2}, + {name: seg1MinCellVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x311, + parameters: [ + {name: seg1Cell1Voltage_V, start: 0, length: 2}, + {name: seg1Cell2Voltage_V, start: 2, length: 2}, + {name: seg1Cell3Voltage_V, start: 4, length: 2}, + {name: seg1Cell4Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x312, + parameters: [ + {name: seg1Cell5Voltage_V, start: 0, length: 2}, + {name: seg1Cell6Voltage_V, start: 2, length: 2}, + {name: seg1Cell7Voltage_V, start: 4, length: 2}, + {name: seg1Cell8Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x313, + parameters: [ + {name: seg1Cell9Voltage_V, start: 0, length: 2}, + {name: seg1Cell10Voltage_V, start: 2, length: 2}, + {name: seg1Cell11Voltage_V, start: 4, length: 2}, + {name: seg1Cell12Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x314, + parameters: [ + {name: seg1Cell1Temp_C, start: 0, length: 2}, + {name: seg1Cell2Temp_C, start: 2, length: 2}, + {name: seg1Cell3Temp_C, start: 4, length: 2}, + {name: seg1Cell4Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x315, + parameters: [ + {name: seg1Cell5Temp_C, start: 0, length: 2}, + {name: seg1Cell6Temp_C, start: 2, length: 2}, + {name: seg1Cell7Temp_C, start: 4, length: 2}, + {name: seg1Cell8Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x316, + parameters: [ + {name: seg1Cell9Temp_C, start: 0, length: 2}, + {name: seg1Cell10Temp_C, start: 2, length: 2}, + {name: seg1Cell11Temp_C, start: 4, length: 2}, + {name: seg1Cell12Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x317, + parameters: [ + {name: seg1BMBBoardTemp1_C, start: 0, length: 2}, + {name: seg1BMBBoardTemp2_C, start: 2, length: 2}, + {name: seg1BMBBoardTemp3_C, start: 4, length: 2}, + {name: seg1BMBBoardTemp4_C, start: 6, length: 2} + ] + }, + { + id: 0x318, + parameters: [ + {name: seg1Cell1VoltageStatus, start: 0, length: 1}, + {name: seg1Cell2VoltageStatus, start: 1, length: 1}, + {name: seg1Cell3VoltageStatus, start: 2, length: 1}, + {name: seg1Cell4VoltageStatus, start: 3, length: 1}, + {name: seg1Cell5VoltageStatus, start: 4, length: 1}, + {name: seg1Cell6VoltageStatus, start: 5, length: 1}, + {name: seg1Cell7VoltageStatus, start: 6, length: 1}, + {name: seg1Cell8VoltageStatus, start: 7, length: 1} + ] + }, + { + id: 0x319, + parameters: [ + {name: seg1Cell9VoltageStatus, start: 0, length: 1}, + {name: seg1Cell10VoltageStatus, start: 1, length: 1}, + {name: seg1Cell11VoltageStatus, start: 2, length: 1}, + {name: seg1Cell12VoltageStatus, start: 3, length: 1}, + {name: seg1Cell1TempStatus, start: 4, length: 1}, + {name: seg1Cell2TempStatus, start: 5, length: 1}, + {name: seg1Cell3TempStatus, start: 6, length: 1}, + {name: seg1Cell4TempStatus, start: 7, length: 1} + ] + }, + { + id: 0x31A, + parameters: [ + {name: seg1Cell5TempStatus, start: 0, length: 1}, + {name: seg1Cell6TempStatus, start: 1, length: 1}, + {name: seg1Cell7TempStatus, start: 2, length: 1}, + {name: seg1Cell8TempStatus, start: 3, length: 1}, + {name: seg1Cell9TempStatus, start: 4, length: 1}, + {name: seg1Cell10TempStatus, start: 5, length: 1}, + {name: seg1Cell11TempStatus, start: 6, length: 1}, + {name: seg1Cell12TempStatus, start: 7, length: 1} + ] + }, + + # Segment 2 + { + id: 0x320, + parameters: [ + {name: seg2Voltage_V, start: 0, length: 2}, + {name: seg2AveCellVoltage_V, start: 2, length: 2}, + {name: seg2MaxCellVoltage_V, start: 4, length: 2}, + {name: seg2MinCellVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x321, + parameters: [ + {name: seg2Cell1Voltage_V, start: 0, length: 2}, + {name: seg2Cell2Voltage_V, start: 2, length: 2}, + {name: seg2Cell3Voltage_V, start: 4, length: 2}, + {name: seg2Cell4Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x322, + parameters: [ + {name: seg2Cell5Voltage_V, start: 0, length: 2}, + {name: seg2Cell6Voltage_V, start: 2, length: 2}, + {name: seg2Cell7Voltage_V, start: 4, length: 2}, + {name: seg2Cell8Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x323, + parameters: [ + {name: seg2Cell9Voltage_V, start: 0, length: 2}, + {name: seg2Cell10Voltage_V, start: 2, length: 2}, + {name: seg2Cell11Voltage_V, start: 4, length: 2}, + {name: seg2Cell12Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x324, + parameters: [ + {name: seg2Cell1Temp_C, start: 0, length: 2}, + {name: seg2Cell2Temp_C, start: 2, length: 2}, + {name: seg2Cell3Temp_C, start: 4, length: 2}, + {name: seg2Cell4Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x325, + parameters: [ + {name: seg2Cell5Temp_C, start: 0, length: 2}, + {name: seg2Cell6Temp_C, start: 2, length: 2}, + {name: seg2Cell7Temp_C, start: 4, length: 2}, + {name: seg2Cell8Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x326, + parameters: [ + {name: seg2Cell9Temp_C, start: 0, length: 2}, + {name: seg2Cell10Temp_C, start: 2, length: 2}, + {name: seg2Cell11Temp_C, start: 4, length: 2}, + {name: seg2Cell12Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x327, + parameters: [ + {name: seg2BMBBoardTemp1_C, start: 0, length: 2}, + {name: seg2BMBBoardTemp2_C, start: 2, length: 2}, + {name: seg2BMBBoardTemp3_C, start: 4, length: 2}, + {name: seg2BMBBoardTemp4_C, start: 6, length: 2} + ] + }, + { + id: 0x328, + parameters: [ + {name: seg2Cell1VoltageStatus, start: 0, length: 1}, + {name: seg2Cell2VoltageStatus, start: 1, length: 1}, + {name: seg2Cell3VoltageStatus, start: 2, length: 1}, + {name: seg2Cell4VoltageStatus, start: 3, length: 1}, + {name: seg2Cell5VoltageStatus, start: 4, length: 1}, + {name: seg2Cell6VoltageStatus, start: 5, length: 1}, + {name: seg2Cell7VoltageStatus, start: 6, length: 1}, + {name: seg2Cell8VoltageStatus, start: 7, length: 1} + ] + }, + { + id: 0x329, + parameters: [ + {name: seg2Cell9VoltageStatus, start: 0, length: 1}, + {name: seg2Cell10VoltageStatus, start: 1, length: 1}, + {name: seg2Cell11VoltageStatus, start: 2, length: 1}, + {name: seg2Cell12VoltageStatus, start: 3, length: 1}, + {name: seg2Cell1TempStatus, start: 4, length: 1}, + {name: seg2Cell2TempStatus, start: 5, length: 1}, + {name: seg2Cell3TempStatus, start: 6, length: 1}, + {name: seg2Cell4TempStatus, start: 7, length: 1} + ] + }, + { + id: 0x32A, + parameters: [ + {name: seg2Cell5TempStatus, start: 0, length: 1}, + {name: seg2Cell6TempStatus, start: 1, length: 1}, + {name: seg2Cell7TempStatus, start: 2, length: 1}, + {name: seg2Cell8TempStatus, start: 3, length: 1}, + {name: seg2Cell9TempStatus, start: 4, length: 1}, + {name: seg2Cell10TempStatus, start: 5, length: 1}, + {name: seg2Cell11TempStatus, start: 6, length: 1}, + {name: seg2Cell12TempStatus, start: 7, length: 1} + ] + }, + + # Segment 3 + { + id: 0x330, + parameters: [ + {name: seg3Voltage_V, start: 0, length: 2}, + {name: seg3AveCellVoltage_V, start: 2, length: 2}, + {name: seg3MaxCellVoltage_V, start: 4, length: 2}, + {name: seg3MinCellVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x331, + parameters: [ + {name: seg3Cell1Voltage_V, start: 0, length: 2}, + {name: seg3Cell2Voltage_V, start: 2, length: 2}, + {name: seg3Cell3Voltage_V, start: 4, length: 2}, + {name: seg3Cell4Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x332, + parameters: [ + {name: seg3Cell5Voltage_V, start: 0, length: 2}, + {name: seg3Cell6Voltage_V, start: 2, length: 2}, + {name: seg3Cell7Voltage_V, start: 4, length: 2}, + {name: seg3Cell8Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x333, + parameters: [ + {name: seg3Cell9Voltage_V, start: 0, length: 2}, + {name: seg3Cell10Voltage_V, start: 2, length: 2}, + {name: seg3Cell11Voltage_V, start: 4, length: 2}, + {name: seg3Cell12Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x334, + parameters: [ + {name: seg3Cell1Temp_C, start: 0, length: 2}, + {name: seg3Cell2Temp_C, start: 2, length: 2}, + {name: seg3Cell3Temp_C, start: 4, length: 2}, + {name: seg3Cell4Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x335, + parameters: [ + {name: seg3Cell5Temp_C, start: 0, length: 2}, + {name: seg3Cell6Temp_C, start: 2, length: 2}, + {name: seg3Cell7Temp_C, start: 4, length: 2}, + {name: seg3Cell8Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x336, + parameters: [ + {name: seg3Cell9Temp_C, start: 0, length: 2}, + {name: seg3Cell10Temp_C, start: 2, length: 2}, + {name: seg3Cell11Temp_C, start: 4, length: 2}, + {name: seg3Cell12Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x337, + parameters: [ + {name: seg3BMBBoardTemp1_C, start: 0, length: 2}, + {name: seg3BMBBoardTemp2_C, start: 2, length: 2}, + {name: seg3BMBBoardTemp3_C, start: 4, length: 2}, + {name: seg3BMBBoardTemp4_C, start: 6, length: 2} + ] + }, + { + id: 0x338, + parameters: [ + {name: seg3Cell1VoltageStatus, start: 0, length: 1}, + {name: seg3Cell2VoltageStatus, start: 1, length: 1}, + {name: seg3Cell3VoltageStatus, start: 2, length: 1}, + {name: seg3Cell4VoltageStatus, start: 3, length: 1}, + {name: seg3Cell5VoltageStatus, start: 4, length: 1}, + {name: seg3Cell6VoltageStatus, start: 5, length: 1}, + {name: seg3Cell7VoltageStatus, start: 6, length: 1}, + {name: seg3Cell8VoltageStatus, start: 7, length: 1} + ] + }, + { + id: 0x339, + parameters: [ + {name: seg3Cell9VoltageStatus, start: 0, length: 1}, + {name: seg3Cell10VoltageStatus, start: 1, length: 1}, + {name: seg3Cell11VoltageStatus, start: 2, length: 1}, + {name: seg3Cell12VoltageStatus, start: 3, length: 1}, + {name: seg3Cell1TempStatus, start: 4, length: 1}, + {name: seg3Cell2TempStatus, start: 5, length: 1}, + {name: seg3Cell3TempStatus, start: 6, length: 1}, + {name: seg3Cell4TempStatus, start: 7, length: 1} + ] + }, + { + id: 0x33A, + parameters: [ + {name: seg3Cell5TempStatus, start: 0, length: 1}, + {name: seg3Cell6TempStatus, start: 1, length: 1}, + {name: seg3Cell7TempStatus, start: 2, length: 1}, + {name: seg3Cell8TempStatus, start: 3, length: 1}, + {name: seg3Cell9TempStatus, start: 4, length: 1}, + {name: seg3Cell10TempStatus, start: 5, length: 1}, + {name: seg3Cell11TempStatus, start: 6, length: 1}, + {name: seg3Cell12TempStatus, start: 7, length: 1} + ] + }, + + # Segment 4 + { + id: 0x340, + parameters: [ + {name: seg4Voltage_V, start: 0, length: 2}, + {name: seg4AveCellVoltage_V, start: 2, length: 2}, + {name: seg4MaxCellVoltage_V, start: 4, length: 2}, + {name: seg4MinCellVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x341, + parameters: [ + {name: seg4Cell1Voltage_V, start: 0, length: 2}, + {name: seg4Cell2Voltage_V, start: 2, length: 2}, + {name: seg4Cell3Voltage_V, start: 4, length: 2}, + {name: seg4Cell4Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x342, + parameters: [ + {name: seg4Cell5Voltage_V, start: 0, length: 2}, + {name: seg4Cell6Voltage_V, start: 2, length: 2}, + {name: seg4Cell7Voltage_V, start: 4, length: 2}, + {name: seg4Cell8Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x343, + parameters: [ + {name: seg4Cell9Voltage_V, start: 0, length: 2}, + {name: seg4Cell10Voltage_V, start: 2, length: 2}, + {name: seg4Cell11Voltage_V, start: 4, length: 2}, + {name: seg4Cell12Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x344, + parameters: [ + {name: seg4Cell1Temp_C, start: 0, length: 2}, + {name: seg4Cell2Temp_C, start: 2, length: 2}, + {name: seg4Cell3Temp_C, start: 4, length: 2}, + {name: seg4Cell4Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x345, + parameters: [ + {name: seg4Cell5Temp_C, start: 0, length: 2}, + {name: seg4Cell6Temp_C, start: 2, length: 2}, + {name: seg4Cell7Temp_C, start: 4, length: 2}, + {name: seg4Cell8Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x346, + parameters: [ + {name: seg4Cell9Temp_C, start: 0, length: 2}, + {name: seg4Cell10Temp_C, start: 2, length: 2}, + {name: seg4Cell11Temp_C, start: 4, length: 2}, + {name: seg4Cell12Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x347, + parameters: [ + {name: seg4BMBBoardTemp1_C, start: 0, length: 2}, + {name: seg4BMBBoardTemp2_C, start: 2, length: 2}, + {name: seg4BMBBoardTemp3_C, start: 4, length: 2}, + {name: seg4BMBBoardTemp4_C, start: 6, length: 2} + ] + }, + { + id: 0x348, + parameters: [ + {name: seg4Cell1VoltageStatus, start: 0, length: 1}, + {name: seg4Cell2VoltageStatus, start: 1, length: 1}, + {name: seg4Cell3VoltageStatus, start: 2, length: 1}, + {name: seg4Cell4VoltageStatus, start: 3, length: 1}, + {name: seg4Cell5VoltageStatus, start: 4, length: 1}, + {name: seg4Cell6VoltageStatus, start: 5, length: 1}, + {name: seg4Cell7VoltageStatus, start: 6, length: 1}, + {name: seg4Cell8VoltageStatus, start: 7, length: 1} + ] + }, + { + id: 0x349, + parameters: [ + {name: seg4Cell9VoltageStatus, start: 0, length: 1}, + {name: seg4Cell10VoltageStatus, start: 1, length: 1}, + {name: seg4Cell11VoltageStatus, start: 2, length: 1}, + {name: seg4Cell12VoltageStatus, start: 3, length: 1}, + {name: seg4Cell1TempStatus, start: 4, length: 1}, + {name: seg4Cell2TempStatus, start: 5, length: 1}, + {name: seg4Cell3TempStatus, start: 6, length: 1}, + {name: seg4Cell4TempStatus, start: 7, length: 1} + ] + }, + { + id: 0x34A, + parameters: [ + {name: seg4Cell5TempStatus, start: 0, length: 1}, + {name: seg4Cell6TempStatus, start: 1, length: 1}, + {name: seg4Cell7TempStatus, start: 2, length: 1}, + {name: seg4Cell8TempStatus, start: 3, length: 1}, + {name: seg4Cell9TempStatus, start: 4, length: 1}, + {name: seg4Cell10TempStatus, start: 5, length: 1}, + {name: seg4Cell11TempStatus, start: 6, length: 1}, + {name: seg4Cell12TempStatus, start: 7, length: 1} + ] + }, + + # Segment 5 + { + id: 0x350, + parameters: [ + {name: seg5Voltage_V, start: 0, length: 2}, + {name: seg5AveCellVoltage_V, start: 2, length: 2}, + {name: seg5MaxCellVoltage_V, start: 4, length: 2}, + {name: seg5MinCellVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x351, + parameters: [ + {name: seg5Cell1Voltage_V, start: 0, length: 2}, + {name: seg5Cell2Voltage_V, start: 2, length: 2}, + {name: seg5Cell3Voltage_V, start: 4, length: 2}, + {name: seg5Cell4Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x352, + parameters: [ + {name: seg5Cell5Voltage_V, start: 0, length: 2}, + {name: seg5Cell6Voltage_V, start: 2, length: 2}, + {name: seg5Cell7Voltage_V, start: 4, length: 2}, + {name: seg5Cell8Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x353, + parameters: [ + {name: seg5Cell9Voltage_V, start: 0, length: 2}, + {name: seg5Cell10Voltage_V, start: 2, length: 2}, + {name: seg5Cell11Voltage_V, start: 4, length: 2}, + {name: seg5Cell12Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x354, + parameters: [ + {name: seg5Cell1Temp_C, start: 0, length: 2}, + {name: seg5Cell2Temp_C, start: 2, length: 2}, + {name: seg5Cell3Temp_C, start: 4, length: 2}, + {name: seg5Cell4Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x355, + parameters: [ + {name: seg5Cell5Temp_C, start: 0, length: 2}, + {name: seg5Cell6Temp_C, start: 2, length: 2}, + {name: seg5Cell7Temp_C, start: 4, length: 2}, + {name: seg5Cell8Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x356, + parameters: [ + {name: seg5Cell9Temp_C, start: 0, length: 2}, + {name: seg5Cell10Temp_C, start: 2, length: 2}, + {name: seg5Cell11Temp_C, start: 4, length: 2}, + {name: seg5Cell12Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x357, + parameters: [ + {name: seg5BMBBoardTemp1_C, start: 0, length: 2}, + {name: seg5BMBBoardTemp2_C, start: 2, length: 2}, + {name: seg5BMBBoardTemp3_C, start: 4, length: 2}, + {name: seg5BMBBoardTemp4_C, start: 6, length: 2} + ] + }, + { + id: 0x358, + parameters: [ + {name: seg5Cell1VoltageStatus, start: 0, length: 1}, + {name: seg5Cell2VoltageStatus, start: 1, length: 1}, + {name: seg5Cell3VoltageStatus, start: 2, length: 1}, + {name: seg5Cell4VoltageStatus, start: 3, length: 1}, + {name: seg5Cell5VoltageStatus, start: 4, length: 1}, + {name: seg5Cell6VoltageStatus, start: 5, length: 1}, + {name: seg5Cell7VoltageStatus, start: 6, length: 1}, + {name: seg5Cell8VoltageStatus, start: 7, length: 1} + ] + }, + { + id: 0x359, + parameters: [ + {name: seg5Cell9VoltageStatus, start: 0, length: 1}, + {name: seg5Cell10VoltageStatus, start: 1, length: 1}, + {name: seg5Cell11VoltageStatus, start: 2, length: 1}, + {name: seg5Cell12VoltageStatus, start: 3, length: 1}, + {name: seg5Cell1TempStatus, start: 4, length: 1}, + {name: seg5Cell2TempStatus, start: 5, length: 1}, + {name: seg5Cell3TempStatus, start: 6, length: 1}, + {name: seg5Cell4TempStatus, start: 7, length: 1} + ] + }, + { + id: 0x35A, + parameters: [ + {name: seg5Cell5TempStatus, start: 0, length: 1}, + {name: seg5Cell6TempStatus, start: 1, length: 1}, + {name: seg5Cell7TempStatus, start: 2, length: 1}, + {name: seg5Cell8TempStatus, start: 3, length: 1}, + {name: seg5Cell9TempStatus, start: 4, length: 1}, + {name: seg5Cell10TempStatus, start: 5, length: 1}, + {name: seg5Cell11TempStatus, start: 6, length: 1}, + {name: seg5Cell12TempStatus, start: 7, length: 1} + ] + }, + + # Segment 6 + { + id: 0x360, + parameters: [ + {name: seg6Voltage_V, start: 0, length: 2}, + {name: seg6AveCellVoltage_V, start: 2, length: 2}, + {name: seg6MaxCellVoltage_V, start: 4, length: 2}, + {name: seg6MinCellVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x361, + parameters: [ + {name: seg6Cell1Voltage_V, start: 0, length: 2}, + {name: seg6Cell2Voltage_V, start: 2, length: 2}, + {name: seg6Cell3Voltage_V, start: 4, length: 2}, + {name: seg6Cell4Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x362, + parameters: [ + {name: seg6Cell5Voltage_V, start: 0, length: 2}, + {name: seg6Cell6Voltage_V, start: 2, length: 2}, + {name: seg6Cell7Voltage_V, start: 4, length: 2}, + {name: seg6Cell8Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x363, + parameters: [ + {name: seg6Cell9Voltage_V, start: 0, length: 2}, + {name: seg6Cell10Voltage_V, start: 2, length: 2}, + {name: seg6Cell11Voltage_V, start: 4, length: 2}, + {name: seg6Cell12Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x364, + parameters: [ + {name: seg6Cell1Temp_C, start: 0, length: 2}, + {name: seg6Cell2Temp_C, start: 2, length: 2}, + {name: seg6Cell3Temp_C, start: 4, length: 2}, + {name: seg6Cell4Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x365, + parameters: [ + {name: seg6Cell5Temp_C, start: 0, length: 2}, + {name: seg6Cell6Temp_C, start: 2, length: 2}, + {name: seg6Cell7Temp_C, start: 4, length: 2}, + {name: seg6Cell8Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x366, + parameters: [ + {name: seg6Cell9Temp_C, start: 0, length: 2}, + {name: seg6Cell10Temp_C, start: 2, length: 2}, + {name: seg6Cell11Temp_C, start: 4, length: 2}, + {name: seg6Cell12Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x367, + parameters: [ + {name: seg6BMBBoardTemp1_C, start: 0, length: 2}, + {name: seg6BMBBoardTemp2_C, start: 2, length: 2}, + {name: seg6BMBBoardTemp3_C, start: 4, length: 2}, + {name: seg6BMBBoardTemp4_C, start: 6, length: 2} + ] + }, + { + id: 0x368, + parameters: [ + {name: seg6Cell1VoltageStatus, start: 0, length: 1}, + {name: seg6Cell2VoltageStatus, start: 1, length: 1}, + {name: seg6Cell3VoltageStatus, start: 2, length: 1}, + {name: seg6Cell4VoltageStatus, start: 3, length: 1}, + {name: seg6Cell5VoltageStatus, start: 4, length: 1}, + {name: seg6Cell6VoltageStatus, start: 5, length: 1}, + {name: seg6Cell7VoltageStatus, start: 6, length: 1}, + {name: seg6Cell8VoltageStatus, start: 7, length: 1} + ] + }, + { + id: 0x369, + parameters: [ + {name: seg6Cell9VoltageStatus, start: 0, length: 1}, + {name: seg6Cell10VoltageStatus, start: 1, length: 1}, + {name: seg6Cell11VoltageStatus, start: 2, length: 1}, + {name: seg6Cell12VoltageStatus, start: 3, length: 1}, + {name: seg6Cell1TempStatus, start: 4, length: 1}, + {name: seg6Cell2TempStatus, start: 5, length: 1}, + {name: seg6Cell3TempStatus, start: 6, length: 1}, + {name: seg6Cell4TempStatus, start: 7, length: 1} + ] + }, + { + id: 0x36A, + parameters: [ + {name: seg6Cell5TempStatus, start: 0, length: 1}, + {name: seg6Cell6TempStatus, start: 1, length: 1}, + {name: seg6Cell7TempStatus, start: 2, length: 1}, + {name: seg6Cell8TempStatus, start: 3, length: 1}, + {name: seg6Cell9TempStatus, start: 4, length: 1}, + {name: seg6Cell10TempStatus, start: 5, length: 1}, + {name: seg6Cell11TempStatus, start: 6, length: 1}, + {name: seg6Cell12TempStatus, start: 7, length: 1} + ] + }, + + # Segment 7 + { + id: 0x370, + parameters: [ + {name: seg7Voltage_V, start: 0, length: 2}, + {name: seg7AveCellVoltage_V, start: 2, length: 2}, + {name: seg7MaxCellVoltage_V, start: 4, length: 2}, + {name: seg7MinCellVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x371, + parameters: [ + {name: seg7Cell1Voltage_V, start: 0, length: 2}, + {name: seg7Cell2Voltage_V, start: 2, length: 2}, + {name: seg7Cell3Voltage_V, start: 4, length: 2}, + {name: seg7Cell4Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x372, + parameters: [ + {name: seg7Cell5Voltage_V, start: 0, length: 2}, + {name: seg7Cell6Voltage_V, start: 2, length: 2}, + {name: seg7Cell7Voltage_V, start: 4, length: 2}, + {name: seg7Cell8Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x373, + parameters: [ + {name: seg7Cell9Voltage_V, start: 0, length: 2}, + {name: seg7Cell10Voltage_V, start: 2, length: 2}, + {name: seg7Cell11Voltage_V, start: 4, length: 2}, + {name: seg7Cell12Voltage_V, start: 6, length: 2} + ] + }, + { + id: 0x374, + parameters: [ + {name: seg7Cell1Temp_C, start: 0, length: 2}, + {name: seg7Cell2Temp_C, start: 2, length: 2}, + {name: seg7Cell3Temp_C, start: 4, length: 2}, + {name: seg7Cell4Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x375, + parameters: [ + {name: seg7Cell5Temp_C, start: 0, length: 2}, + {name: seg7Cell6Temp_C, start: 2, length: 2}, + {name: seg7Cell7Temp_C, start: 4, length: 2}, + {name: seg7Cell8Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x376, + parameters: [ + {name: seg7Cell9Temp_C, start: 0, length: 2}, + {name: seg7Cell10Temp_C, start: 2, length: 2}, + {name: seg7Cell11Temp_C, start: 4, length: 2}, + {name: seg7Cell12Temp_C, start: 6, length: 2} + ] + }, + { + id: 0x377, + parameters: [ + {name: seg7BMBBoardTemp1_C, start: 0, length: 2}, + {name: seg7BMBBoardTemp2_C, start: 2, length: 2}, + {name: seg7BMBBoardTemp3_C, start: 4, length: 2}, + {name: seg7BMBBoardTemp4_C, start: 6, length: 2} + ] + }, + { + id: 0x378, + parameters: [ + {name: seg7Cell1VoltageStatus, start: 0, length: 1}, + {name: seg7Cell2VoltageStatus, start: 1, length: 1}, + {name: seg7Cell3VoltageStatus, start: 2, length: 1}, + {name: seg7Cell4VoltageStatus, start: 3, length: 1}, + {name: seg7Cell5VoltageStatus, start: 4, length: 1}, + {name: seg7Cell6VoltageStatus, start: 5, length: 1}, + {name: seg7Cell7VoltageStatus, start: 6, length: 1}, + {name: seg7Cell8VoltageStatus, start: 7, length: 1} + ] + }, + { + id: 0x379, + parameters: [ + {name: seg7Cell9VoltageStatus, start: 0, length: 1}, + {name: seg7Cell10VoltageStatus, start: 1, length: 1}, + {name: seg7Cell11VoltageStatus, start: 2, length: 1}, + {name: seg7Cell12VoltageStatus, start: 3, length: 1}, + {name: seg7Cell1TempStatus, start: 4, length: 1}, + {name: seg7Cell2TempStatus, start: 5, length: 1}, + {name: seg7Cell3TempStatus, start: 6, length: 1}, + {name: seg7Cell4TempStatus, start: 7, length: 1} + ] + }, + { + id: 0x37A, + parameters: [ + {name: seg7Cell5TempStatus, start: 0, length: 1}, + {name: seg7Cell6TempStatus, start: 1, length: 1}, + {name: seg7Cell7TempStatus, start: 2, length: 1}, + {name: seg7Cell8TempStatus, start: 3, length: 1}, + {name: seg7Cell9TempStatus, start: 4, length: 1}, + {name: seg7Cell10TempStatus, start: 5, length: 1}, + {name: seg7Cell11TempStatus, start: 6, length: 1}, + {name: seg7Cell12TempStatus, start: 7, length: 1} + ] + }, + + # Cell Temp Statistics + { + id: 0x380, + parameters: [ + {name: seg1AveCellTemp_C, start: 0, length: 2}, + {name: seg1MaxCellTemp_C, start: 2, length: 2}, + {name: seg1MinCellTemp_C, start: 4, length: 2}, + {name: seg2AveCellTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x381, + parameters: [ + {name: seg2MaxCellTemp_C, start: 0, length: 2}, + {name: seg2MinCellTemp_C, start: 2, length: 2}, + {name: seg3AveCellTemp_C, start: 4, length: 2}, + {name: seg3MaxCellTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x382, + parameters: [ + {name: seg3MinCellTemp_C, start: 0, length: 2}, + {name: seg4AveCellTemp_C, start: 2, length: 2}, + {name: seg4MaxCellTemp_C, start: 4, length: 2}, + {name: seg4MinCellTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x383, + parameters: [ + {name: seg5AveCellTemp_C, start: 0, length: 2}, + {name: seg5MaxCellTemp_C, start: 2, length: 2}, + {name: seg5MinCellTemp_C, start: 4, length: 2}, + {name: seg6AveCellTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x384, + parameters: [ + {name: seg6MaxCellTemp_C, start: 0, length: 2}, + {name: seg6MinCellTemp_C, start: 2, length: 2}, + {name: seg7AveCellTemp_C, start: 4, length: 2}, + {name: seg7MaxCellTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x385, + parameters: [ + {name: seg7MinCellTemp_C, start: 0, length: 2}, + ] + }, + { + id: 0x386, + parameters: [ + {name: amsFault_state, start: 6, length: 1}, + {name: bspdFault_state, start: 7, length: 1} + ] + }, + + # Board Temp Statistics + { + id: 0x390, + parameters: [ + {name: seg1BMBAveBoardTemp_C, start: 0, length: 2}, + {name: seg1BMBMaxBoardTemp_C, start: 2, length: 2}, + {name: seg1BMBMinBoardTemp_C, start: 4, length: 2}, + {name: seg2BMBAveBoardTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x391, + parameters: [ + {name: seg2BMBMaxBoardTemp_C, start: 0, length: 2}, + {name: seg2BMBMinBoardTemp_C, start: 2, length: 2}, + {name: seg3BMBAveBoardTemp_C, start: 4, length: 2}, + {name: seg3BMBMaxBoardTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x392, + parameters: [ + {name: seg3BMBMinBoardTemp_C, start: 0, length: 2}, + {name: seg4BMBAveBoardTemp_C, start: 2, length: 2}, + {name: seg4BMBMaxBoardTemp_C, start: 4, length: 2}, + {name: seg4BMBMinBoardTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x393, + parameters: [ + {name: seg5BMBAveBoardTemp_C, start: 0, length: 2}, + {name: seg5BMBMaxBoardTemp_C, start: 2, length: 2}, + {name: seg5BMBMinBoardTemp_C, start: 4, length: 2}, + {name: seg6BMBAveBoardTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x394, + parameters: [ + {name: seg6BMBMaxBoardTemp_C, start: 0, length: 2}, + {name: seg6BMBMinBoardTemp_C, start: 2, length: 2}, + {name: seg7BMBAveBoardTemp_C, start: 4, length: 2}, + {name: seg7BMBMaxBoardTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x395, + parameters: [ + {name: seg7BMBMinBoardTemp_C, start: 0, length: 2} + ] + }, + { + id: 0x396, + parameters: [ + {name: imdFault_state, start: 6, length: 1}, + {name: imdFaultInfo_state, start: 7, length: 1} + ] + }, + { + id: 0x3A7, + parameters: [ + {name: soeByOCV_percent, start: 4, length: 2}, + {name: soeByCoulombCounting_percent, start: 6, length: 2} + ] + }, + + # BMS High Frequency + { + id: 0x3B0, + parameters: [ + {name: bmsTractiveSystemCurrentLow_A, start: 0, length: 2}, + {name: bmsTractiveSystemCurrentHigh_A, start: 2, length: 2} + ] + }, + + # BMS Alerts/Info + { + id: 0x3C0, + parameters: [ + {name: bmsNumActiveAlerts_state, start: 0, length: 1}, + {name: bmsCurrAlertIndex_state, start: 1, length: 1}, + {name: bmsAlertMessage_state, start: 2, length: 1}, + {name: bmsChargerBatteryNotDetectedErrorAlert_state, start: 3, length: 1}, + {name: bmsChargerCommunicationErrorAlert_state, start: 4, length: 1}, + {name: bmsCurrAlertIsLatched_state, start: 5, length: 1}, + {name: bmsAveBrickVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x3C1, + parameters: [ + {name: bmsMaxBrickVoltage_V, start: 0, length: 2}, + {name: bmsMinBrickVoltage_V, start: 2, length: 2}, + {name: bmsAveBrickTemp_C, start: 4, length: 2}, + {name: bmsMaxBrickTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x3C2, + parameters: [ + {name: bmsMinBrickTemp_C, start: 0, length: 2}, + {name: bmsAveBoardTemp_C, start: 2, length: 2}, + {name: bmsMaxBoardTemp_C, start: 4, length: 2}, + {name: bmsMinBoardTemp_C, start: 6, length: 2} + ] + }, + { + id: 0x3C3, + parameters: [ + {name: bmsOvervoltageFaultAlert_state, start: 0, length: 1}, + {name: bmsUndervoltageFaultAlert_state, start: 1, length: 1}, + {name: bmsOvertempFaultAlert_state, start: 2, length: 1}, + {name: bmsBmbCommunicationFailureAlert_state, start: 3, length: 1}, + {name: bmsBadVoltageSenseStatusAlert_state, start: 4, length: 1}, + {name: bmsInsufficientTempSensorsAlert_state, start: 5, length: 1}, + {name: bmsChargerOverVoltageAlert_state, start: 6, length: 1}, + {name: bmsChargerOverCurrentAlert_state, start: 7, length: 1} + ] + }, + { + id: 0x3C4, + parameters: [ + {name: bmsChargerVoltageMismatchAlert_state, start: 0, length: 1}, + {name: bmsChargerCurrentMismatchAlert_state, start: 1, length: 1}, + {name: bmsChargerHardwareFailureAlert_state, start: 2, length: 1}, + {name: bmsChargerOverTempAlert_state, start: 3, length: 1}, + {name: bmsOvervoltageWarningAlert_state, start: 4, length: 1}, + {name: bmsUndervoltageWarningAlert_state, start: 5, length: 1}, + {name: bmsCellImbalanceAlert_state, start: 6, length: 1}, + {name: bmsOvertempWarningAlert_state, start: 7, length: 1} + ] + }, + { + id: 0x3C5, + parameters: [ + {name: bmsAmsSdcFaultAlert_state, start: 0, length: 1}, + {name: bmsBspdSdcFaultAlert_state, start: 1, length: 1}, + {name: bmsImdSdcFaultAlert_state, start: 2, length: 1}, + {name: bmsCurrentSensorErrorAlert_state, start: 3, length: 1}, + {name: bmsBadBrickTempSenseStatusAlert_state, start: 4, length: 1}, + {name: bmsBadBoardTempSenseStatusAlert_state, start: 5, length: 1}, + {name: bmsStackVsSegmentImbalanceAlert_state, start: 6, length: 1}, + {name: bmsChargerInputVoltageErrorAlert_state, start: 7, length: 1} + ] + }, + + # END BMS + + # Sensor Hub Front + { + id: 0x400, + parameters: [ + {name: brakePressureRear_psi, start: 0, length: 2}, + {name: steeringAngle_deg, start: 2, length: 2}, + {name: brakeTempFrontRight_C, start: 4, length: 2}, + {name: brakeTempFrontLeft_C, start: 6, length: 2} + ] + }, + { + id: 0x450, + parameters: [ + {name: shockPosFrontLeft_mm, start: 0, length: 2}, + {name: shockPosFrontRight_mm, start: 2, length: 2}, + {name: wheelSpeedFrontLeft_mph, start: 4, length: 2}, + {name: wheelSpeedFrontRight_mph, start: 6, length: 2} + ] + }, + { + id: 0x451, + parameters: [ + {name: pittoTubePressure_psi, start: 0, length: 2} + ] + }, + # END SH_F + + # Sensor Hub Rear + { + id: 0x500, + parameters: [ + {name: radWaterTempIn_C, start: 0, length: 2}, + {name: radWaterTempOut_C, start: 2, length: 2} + ] + }, + { + id: 0x550, + parameters: [ + {name: shockPosRearLeft_mm, start: 0, length: 2}, + {name: shockPosRearRight_mm, start: 2, length: 2}, + {name: wheelSpeedRearLeft_mph, start: 4, length: 2}, + {name: wheelSpeedRearRight_mph, start: 6, length: 2} + ] + }, + # END SH_R + + # Power and Logging Module (Not contiunously sent) + { + id: 0x000, + parameters: [ + {name: vbatChan0Current_A, start: 0, length: 2}, + {name: vbatChan1Current_A, start: 2, length: 2}, + {name: vbatChan2Current_A, start: 4, length: 2}, + {name: vbatChan3Current_A, start: 6, length: 2} + ] + }, + { + id: 0x001, + parameters: [ + {name: vbatChan4Current_A, start: 0, length: 2}, + {name: vbatChan5Current_A, start: 2, length: 2}, + {name: vbatChan6Current_A, start: 4, length: 2}, + {name: fiveVChan0Current_A, start: 6, length: 2} + ] + }, + { + id: 0x002, + parameters: [ + {name: fiveVChan1Current_A, start: 0, length: 2}, + {name: fiveVChan2Current_A, start: 2, length: 2}, + {name: fiveVChan3Current_A, start: 4, length: 2}, + {name: can0Utilization_percent, start: 6, length: 2} + ] + }, + { + id: 0x003, + parameters: [ + {name: can1Utilization_percent, start: 0, length: 2}, + {name: can2Utilization_percent, start: 2, length: 2}, + {name: plmVbatVoltage_V, start: 4, length: 2}, + {name: plm5VVoltage_V, start: 6, length: 2} + ] + }, + { + id: 0x004, + parameters: [ + {name: packetsLogged_ul, start: 0, length: 4}, + {name: packetsDropped_ul, start: 4, length: 4} + ] + }, + { + id: 0x005, + parameters: [ + {name: storageBufferFill_percent, start: 0, length: 2}, + {name: telemetryBufferFill_percent, start: 2, length: 2} + ] + }, + # END PLM + + # Display GPS + { + id: 0x700, + parameters: [ + {name: gpsLatitude_deg, start: 0, length: 4}, + {name: gpsLongitude_deg, start: 4, length: 4} + ] + }, + { + id: 0x701, + parameters: [ + {name: gpsSpeed_mph, start: 0, length: 2}, + {name: gpsAltitude_ft, start: 2, length: 2}, + {name: gpsCourse_deg, start: 4, length: 2}, + {name: gpsSatelliteCount_ul, start: 6, length: 1} + ] + }, + { + id: 0x702, + parameters: [ + {name: gpsValid_ul, start: 0, length: 1}, + {name: gpsYearUTC_ul, start: 1, length: 1}, + {name: gpsMonthUTC_ul, start: 2, length: 1}, + {name: gpsDayUTC_ul, start: 3, length: 1}, + {name: gpsHoursUTC_ul, start: 4, length: 1}, + {name: gpsMinutesUTC_ul, start: 5, length: 1}, + {name: gpsSecondsUTC_ul, start: 6, length: 1} + ] + }, + # END DISPLAY + + # IMU Messages (No control over these IDs) + { + id: 0x174, + parameters: [ + {name: yawRate_degPerSec, start: 0, length: 2}, + {name: lateralAccel_G, start: 4, length: 2} + ] + }, + { + id: 0x178, + parameters: [ + {name: rollRate_degPerSec, start: 0, length: 2}, + {name: longitudinalAccel_G, start: 4, length: 2} + ] + }, + { + id: 0x17C, + parameters: [ + {name: verticalAccel_G, start: 4, length: 2} + ] + }, + # END IMU + + # MISC + { + id: 0xE5, + parameters: [ + {name: lapBeaconRaw_ul, start: 0, length: 3} + ] + }, + { + id: 0x100, + parameters: [ + {name: lapBeacon_ul, start: 0, length: 1} + ] + } + # END MISC +] + +commands: + 0: SET_LED_STATE # args: (LED state, _, _, _) + 1: SET_RTC_TIME # args: (hour, min, sec, _) + 2: SET_RTC_DATE # args: (year, month, day, weekday) + 3: LOG_COMPLETE # args: (_, _, _, _) + +errors: + 0: ID_NOT_FOUND + 1: COMMAND_ID_NOT_FOUND + 2: PARAM_NOT_ENABLED + 3: SIZE_ERROR + 4: DATATYPE_NOT_FOUND + 5: COMMAND_NOT_ENABLED \ No newline at end of file