Skip to content

Commit

Permalink
fix: lv feedbacks, ecu set status
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzucchi committed Mar 31, 2024
1 parent b13be9a commit 95595ab
Showing 1 changed file with 66 additions and 30 deletions.
96 changes: 66 additions & 30 deletions networks/primary/network.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,14 @@
"fsm"
]
},
"EcuSetStatus": {
"type": "enum",
"items": [
"idle",
"ready",
"drive"
]
},
"EcuFeedbacks": {
"type": "bitset",
"items": [
Expand Down Expand Up @@ -1029,7 +1037,14 @@
"HANDCART"
],
"contents": {
"radiator_speed": "float32"
"radiator_speed": {
"type": "float32",
"range": [
-1,
1
],
"precision": 0.1
}
}
},
{
Expand All @@ -1042,7 +1057,14 @@
],
"receiving": [],
"contents": {
"pumps_speed": "float32"
"pumps_speed": {
"type": "float32",
"range": [
-1,
1
],
"precision": 0.1
}
}
},
{
Expand All @@ -1056,7 +1078,14 @@
"LV"
],
"contents": {
"radiator_speed": "float32"
"radiator_speed": {
"type": "float32",
"range": [
-1,
1
],
"precision": 0.1
}
}
},
{
Expand All @@ -1070,7 +1099,14 @@
"LV"
],
"contents": {
"pumps_speed": "float32"
"pumps_speed": {
"type": "float32",
"range": [
-1,
1
],
"precision": 0.1
}
}
},
{
Expand Down Expand Up @@ -1105,33 +1141,33 @@
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"imd": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"hvd": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"ams": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
}
}
},
Expand All @@ -1151,38 +1187,38 @@
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"lvms": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"interlock": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"sd_start": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
}
}
},
{
"name": "LV_FEEDBACK_ECLOSURE_VOLTAGE",
"name": "LV_FEEDBACK_ENCLOSURE_VOLTAGE",
"topic": "HYDRA",
"priority": 1,
"interval": 50,
Expand All @@ -1197,33 +1233,33 @@
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"hv_encl_1": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"hv_encl_2": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
},
"backplate": {
"type": "float32",
"range": [
0,
3.3
14
],
"force": "uint8"
"precision": 0.005
}
}
},
Expand Down Expand Up @@ -1449,7 +1485,7 @@
"ECU"
],
"contents": {
"status": "EcuStatus"
"status": "EcuSetStatus"
}
},
{
Expand Down

0 comments on commit 95595ab

Please sign in to comment.