diff --git a/cangen/can-messages/bms.json b/cangen/can-messages/bms.json index e16a22a..6d3a33a 100644 --- a/cangen/can-messages/bms.json +++ b/cangen/can-messages/bms.json @@ -1016,178 +1016,178 @@ ] } ] - }, - { - "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", - "sim_freq": 1000, - "fields": [ - { - "name": "BMS/Version/Tag", - "unit": "major.minor.patch", - "sim": { - "min": 0, - "max": 3, - "inc_min": 1, - "inc_max": 1, - "round": true - }, - "points": [ - { - "size": 8 - }, - { - "size": 8 - }, - { - "size": 8 - } + }, + { + "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", + "sim_freq": 1000, + "fields": [ + { + "name": "BMS/Version/Tag", + "unit": "major.minor.patch", + "sim": { + "min": 0, + "max": 3, + "inc_min": 1, + "inc_max": 1, + "round": true + }, + "points": [ + { + "size": 8 }, { - "name": "BMS/Version/Dirty", - "unit": "bool", - "sim": { - "options": [ - [ - 0, - 0.95 - ], - [ - 1, - 0.05 - ] - ] - }, - "points": [ - { - "size": 8 - } - ] + "size": 8 }, { - "name": "BMS/Version/LocalCommit", - "unit": "bool", - "sim": { - "options": [ - [ - 0, - 0.95 - ], - [ - 1, - 0.05 - ] - ] - }, - "points": [ - { - "size": 8 - } - ] + "size": 8 } ] }, { - "id": "0x69B", - "desc": "Shepherd Version Hash", - "sim_freq": 1000, - "fields": [ - { - "name": "BMS/Version/ShortHash", - "unit": "hash", - "sim": { - "min": 0, - "max": 4294967295, - "inc_min": 1, - "inc_max": 1, - "round": true - }, - "points": [ - { - "size": 32 - } + "name": "BMS/Version/Dirty", + "unit": "bool", + "sim": { + "options": [ + [ + 0, + 0.95 + ], + [ + 1, + 0.05 ] - }, + ] + }, + "points": [ { - "name": "BMS/Version/AuthorHash", - "unit": "hash", - "sim": { - "min": 0, - "max": 4294967295, - "inc_min": 1, - "inc_max": 1, - "round": true - }, - "points": [ - { - "size": 32 - } + "size": 8 + } + ] + }, + { + "name": "BMS/Version/LocalCommit", + "unit": "bool", + "sim": { + "options": [ + [ + 0, + 0.95 + ], + [ + 1, + 0.05 ] + ] + }, + "points": [ + { + "size": 8 } ] - } + } + ] + }, + { + "id": "0x69B", + "desc": "Shepherd Version Hash", + "sim_freq": 1000, + "fields": [ + { + "name": "BMS/Version/ShortHash", + "unit": "hash", + "sim": { + "min": 0, + "max": 4294967295, + "inc_min": 1, + "inc_max": 1, + "round": true + }, + "points": [ + { + "size": 32 + } + ] + }, + { + "name": "BMS/Version/AuthorHash", + "unit": "hash", + "sim": { + "min": 0, + "max": 4294967295, + "inc_min": 1, + "inc_max": 1, + "round": true + }, + "points": [ + { + "size": 32 + } + ] + } + ] + } ] \ No newline at end of file