Skip to content

Commit

Permalink
applied formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
tszwinglitw committed Jan 11, 2025
1 parent 1f52ccc commit e42b148
Showing 1 changed file with 160 additions and 160 deletions.
320 changes: 160 additions & 160 deletions cangen/can-messages/bms.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
]
}
]

0 comments on commit e42b148

Please sign in to comment.