Skip to content

Commit 795f061

Browse files
feat: add AS_COMMANDS and HV additional temperatures #65
1 parent 96ab30b commit 795f061

File tree

2 files changed

+206
-7
lines changed

2 files changed

+206
-7
lines changed

networks/bms/network.json

+56
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,62 @@
608608
}
609609
}
610610
},
611+
{
612+
"name": "CELLBOARD_DISCHARGE_TEMPERATURE",
613+
"topic": "HYDRA",
614+
"priority": 3,
615+
"interval": 50,
616+
"sending": [
617+
"HV"
618+
],
619+
"receiving": [
620+
"HV"
621+
],
622+
"description": "Cellboard discharge resistor temperatures in °C",
623+
"contents": {
624+
"cellboard_id": "CellboardId",
625+
"temperature_0": {
626+
"type": "float32",
627+
"force": "uint8",
628+
"range": [
629+
-25.0,
630+
100.0
631+
]
632+
},
633+
"temperature_1": {
634+
"type": "float32",
635+
"force": "uint8",
636+
"range": [
637+
-25.0,
638+
100.0
639+
]
640+
},
641+
"temperature_2": {
642+
"type": "float32",
643+
"force": "uint8",
644+
"range": [
645+
-25.0,
646+
100.0
647+
]
648+
},
649+
"temperature_3": {
650+
"type": "float32",
651+
"force": "uint8",
652+
"range": [
653+
-25.0,
654+
100.0
655+
]
656+
},
657+
"temperature_4": {
658+
"type": "float32",
659+
"force": "uint8",
660+
"range": [
661+
-25.0,
662+
100.0
663+
]
664+
}
665+
}
666+
},
611667
{
612668
"name": "CELLBOARD_SET_BALANCING_STATUS",
613669
"topic": "HYDRA",

networks/primary/network.json

+150-7
Original file line numberDiff line numberDiff line change
@@ -2696,7 +2696,7 @@
26962696
}
26972697
},
26982698
{
2699-
"name": "ECU_STEER_ACTUATOR_STATUS",
2699+
"name": "AS_COMMANDS_STATUS",
27002700
"topic": "HYDRA",
27012701
"priority": 3,
27022702
"interval": 200,
@@ -2705,27 +2705,30 @@
27052705
],
27062706
"receiving": [],
27072707
"contents": {
2708-
"status": "Toggle"
2708+
"steerStatus": "Toggle",
2709+
"throttleStatus": "Toggle",
2710+
"brakeStatus": "Toggle"
27092711
}
27102712
},
27112713
{
2712-
"name": "ECU_SET_STEER_ACTUATOR_STATUS",
2714+
"name": "AS_COMMANDS_SET_STATUS",
27132715
"topic": "HYDRA",
27142716
"priority": 2,
27152717
"interval": 200,
27162718
"sending": [
2717-
"STEERING_WHEEL",
27182719
"TLM"
27192720
],
27202721
"receiving": [
27212722
"ECU"
27222723
],
27232724
"contents": {
2724-
"status": "Toggle"
2725+
"steerStatus": "Toggle",
2726+
"throttleStatus": "Toggle",
2727+
"brakeStatus": "Toggle"
27252728
}
27262729
},
27272730
{
2728-
"name": "ECU_SET_STEER_ACTUATOR_ANGLE",
2731+
"name": "AS_COMMANDS_SET_VALUE",
27292732
"topic": "HYDRA",
27302733
"priority": 3,
27312734
"interval": 50,
@@ -2736,13 +2739,29 @@
27362739
"ECU"
27372740
],
27382741
"contents": {
2739-
"angle": {
2742+
"steerAngle": {
27402743
"type": "float32",
27412744
"range": [
27422745
-180,
27432746
180
27442747
],
27452748
"force": "uint16"
2749+
},
2750+
"throttle": {
2751+
"type": "float32",
2752+
"range": [
2753+
0,
2754+
1
2755+
],
2756+
"force": "uint16"
2757+
},
2758+
"brake": {
2759+
"type": "float32",
2760+
"range": [
2761+
-1,
2762+
0
2763+
],
2764+
"force": "uint16"
27462765
}
27472766
}
27482767
},
@@ -3088,6 +3107,130 @@
30883107
}
30893108
}
30903109
},
3110+
{
3111+
"name": "HV_DISCHARGE_TEMPERATURE",
3112+
"topic": "HYDRA",
3113+
"priority": 3,
3114+
"interval": 50,
3115+
"sending": [
3116+
"HV"
3117+
],
3118+
"receiving": [],
3119+
"description": "HV cellboard discharge resistor temperatures in °C",
3120+
"contents": {
3121+
"cellboard_id": "CellboardId",
3122+
"temperature_0": {
3123+
"type": "float32",
3124+
"force": "uint8",
3125+
"range": [
3126+
-25.0,
3127+
100.0
3128+
]
3129+
},
3130+
"temperature_1": {
3131+
"type": "float32",
3132+
"force": "uint8",
3133+
"range": [
3134+
-25.0,
3135+
100.0
3136+
]
3137+
},
3138+
"temperature_2": {
3139+
"type": "float32",
3140+
"force": "uint8",
3141+
"range": [
3142+
-25.0,
3143+
100.0
3144+
]
3145+
},
3146+
"temperature_3": {
3147+
"type": "float32",
3148+
"force": "uint8",
3149+
"range": [
3150+
-25.0,
3151+
100.0
3152+
]
3153+
},
3154+
"temperature_4": {
3155+
"type": "float32",
3156+
"force": "uint8",
3157+
"range": [
3158+
-25.0,
3159+
100.0
3160+
]
3161+
}
3162+
}
3163+
},
3164+
{
3165+
"name": "HV_COOLING_TEMPERATURE",
3166+
"topic": "HYDRA",
3167+
"priority": 3,
3168+
"interval": 200,
3169+
"sending": [
3170+
"HV"
3171+
],
3172+
"receiving": [],
3173+
"description": "HV cooling temperatures in °C",
3174+
"contents": {
3175+
"inlet": {
3176+
"type": "float32",
3177+
"force": "uint8",
3178+
"range": [
3179+
-25.0,
3180+
100.0
3181+
]
3182+
},
3183+
"outlet_0": {
3184+
"type": "float32",
3185+
"force": "uint8",
3186+
"range": [
3187+
-25.0,
3188+
100.0
3189+
]
3190+
},
3191+
"outlet_1": {
3192+
"type": "float32",
3193+
"force": "uint8",
3194+
"range": [
3195+
-25.0,
3196+
100.0
3197+
]
3198+
},
3199+
"outlet_2": {
3200+
"type": "float32",
3201+
"force": "uint8",
3202+
"range": [
3203+
-25.0,
3204+
100.0
3205+
]
3206+
},
3207+
"outlet_3": {
3208+
"type": "float32",
3209+
"force": "uint8",
3210+
"range": [
3211+
-25.0,
3212+
100.0
3213+
]
3214+
},
3215+
"outlet_4": {
3216+
"type": "float32",
3217+
"force": "uint8",
3218+
"range": [
3219+
-25.0,
3220+
100.0
3221+
]
3222+
},
3223+
"outlet_5": {
3224+
"type": "float32",
3225+
"force": "uint8",
3226+
"range": [
3227+
-25.0,
3228+
100.0
3229+
]
3230+
}
3231+
}
3232+
3233+
},
30913234
{
30923235
"name": "CHARGER_1",
30933236
"fixed_id": 256,

0 commit comments

Comments
 (0)