Skip to content

Commit 48987c8

Browse files
Astra (#68)
* Add LCU and some cleanup * fix * Add PCU * Add HVBMS * Final VCU orders (at least for now) * Fix measurements VCU * Final VCU packets (at least for now) * Fix there's not actually a connecting * Pre-Final LCU packets and orders (have to add control debugging variables) * Final PCU packets and orders (at least for now) * Update HVBMS packets (not final, wip) * Make LCU state machine be plain * Final HVMBS measurements (packet structure will change though) * fix: remove BLCU from boards * Enums with spaces in VCU * fix: PCU standarized * fix(LCU): standarize * fix(VCU): typo * Remove an order from VCU * Add parametirized variables to the VCU * Use unic names * Remove measurement --------- Co-authored-by: Javier Ribal del Río <javierribal@gmail.com>
1 parent 657c212 commit 48987c8

22 files changed

Lines changed: 1706 additions & 423 deletions

boards.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
22
"VCU": "boards/VCU/VCU.json",
3-
"BLCU": "boards/BLCU/BLCU.json"
3+
"LCU": "boards/LCU/LCU.json",
4+
"PCU": "boards/PCU/PCU.json",
5+
"HVBMS": "boards/HVBMS/HVBMS.json"
46
}

boards/BLCU/BLCU.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"board_id": 17,
2+
"board_id": 27,
33
"board_ip": "192.168.0.27",
44
"measurements": ["BLCU_measurements.json"],
55
"packets": [

boards/HVBMS/HVBMS.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"board_id": 7,
3+
"board_ip": "192.168.1.7",
4+
"measurements": [
5+
"HVBMS_measurements.json"
6+
],
7+
"packets": [
8+
"packets.json",
9+
"orders.json"
10+
],
11+
"sockets": [
12+
"sockets.json"
13+
]
14+
}

boards/HVBMS/HVBMS_measurements.json

Lines changed: 297 additions & 0 deletions
Large diffs are not rendered by default.

boards/HVBMS/orders.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[
2+
{
3+
"type": "order",
4+
"name": "FAULT",
5+
"variables": [],
6+
"id": 0
7+
},
8+
{
9+
"type": "order",
10+
"name": "open_contactors",
11+
"variables": [],
12+
"id": 901
13+
},
14+
{
15+
"type": "order",
16+
"name": "cell_balance",
17+
"variables": [],
18+
"id": 902
19+
},
20+
{
21+
"type": "order",
22+
"name": "start_precharge",
23+
"variables": [],
24+
"id": 903
25+
},
26+
{
27+
"type": "order",
28+
"name": "check_faults",
29+
"variables": [],
30+
"id": 904
31+
}
32+
]

0 commit comments

Comments
 (0)