From 99510562ba7aed59645e3b71d760fd7866f3e2ab Mon Sep 17 00:00:00 2001 From: Blake Jackson Date: Sun, 5 Jan 2025 19:39:15 -0500 Subject: [PATCH] [Debug] - Add timer start/stop notices (#208) * Added fault timer CAN to bms.json * Changed format of fault timer CAN * Update bms.json * Update bms.json --------- Co-authored-by: Jack Rubacha --- cangen/can-messages/bms.json | 63 ++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/cangen/can-messages/bms.json b/cangen/can-messages/bms.json index b56f314..3a009d5 100644 --- a/cangen/can-messages/bms.json +++ b/cangen/can-messages/bms.json @@ -993,6 +993,69 @@ } ] }, + { + "id": "0x6FF", + "desc": "BMS Fault Timers", + "sim_freq": 700, + "fields": [ + { + "name": "BMS/Fault_Timer/Start_Stop", + "unit": "", + "sim": { + "options": [ + [ + 0, + 0.5 + ], + [ + 1, + 0.25 + ], + [ + 2, + 0.25 + ] + ] + }, + "points": [ + { + "size": 8 + } + ] + }, + { + "name": "BMS/Fault_Timer/Code", + "unit": "", + "sim": { + "min": 0, + "max": 31, + "inc_min": 0, + "inc_max": 31, + "round": true + }, + "points": [ + { + "size": 8 + } + ] + }, + { + "name": "BMS/Fault_Timer/Value", + "unit": "", + "sim": { + "min": -100, + "max": 100, + "inc_min": 0.05, + "inc_max": 1 + }, + "points": [ + { + "size": 16 + } + ] + } + ] + }, { "id": "0x69A", "desc": "Shepherd Version Tag",