Skip to content

Commit 7931bef

Browse files
committed
feat: change controls maps from/to steering, ecu, controls
1 parent 0bfc14e commit 7931bef

File tree

1 file changed

+13
-58
lines changed

1 file changed

+13
-58
lines changed

networks/primary/network.json

+13-58
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
"EcuControlErrors": {
310310
"type": "bitset",
311311
"items": [
312-
"forced_off",
312+
"disabled_from_ecu",
313313
"wrong_maps",
314314
"control_watchdog"
315315
]
@@ -1709,7 +1709,7 @@
17091709
],
17101710
"receiving": [],
17111711
"contents": {
1712-
"map_pw": {
1712+
"map_power": {
17131713
"type": "float32",
17141714
"range": [
17151715
-0.5,
@@ -1718,24 +1718,9 @@
17181718
"precision": 0.01,
17191719
"optimize": false
17201720
},
1721-
"map_sc": {
1722-
"type": "float32",
1723-
"range": [
1724-
0,
1725-
1
1726-
],
1727-
"precision": 0.01,
1728-
"optimize": false
1729-
},
1730-
"map_tv": {
1731-
"type": "float32",
1732-
"range": [
1733-
0,
1734-
1
1735-
],
1736-
"precision": 0.01,
1737-
"optimize": false
1738-
}
1721+
"sc_state": "Toggle",
1722+
"tv_state": "Toggle",
1723+
"reg_state": "Toggle"
17391724
}
17401725
},
17411726
{
@@ -1750,7 +1735,7 @@
17501735
"ECU"
17511736
],
17521737
"contents": {
1753-
"map_pw": {
1738+
"map_power": {
17541739
"type": "float32",
17551740
"range": [
17561741
-0.5,
@@ -1759,24 +1744,9 @@
17591744
"precision": 0.01,
17601745
"optimize": false
17611746
},
1762-
"map_sc": {
1763-
"type": "float32",
1764-
"range": [
1765-
0,
1766-
1
1767-
],
1768-
"precision": 0.01,
1769-
"optimize": false
1770-
},
1771-
"map_tv": {
1772-
"type": "float32",
1773-
"range": [
1774-
0,
1775-
1
1776-
],
1777-
"precision": 0.01,
1778-
"optimize": false
1779-
}
1747+
"sc_state": "Toggle",
1748+
"tv_state": "Toggle",
1749+
"reg_state": "Toggle"
17801750
}
17811751
},
17821752
{
@@ -1896,7 +1866,7 @@
18961866
"description": "Power maps used by the control algorithm. (ECU checks if are coherent with the ones in the ECU)",
18971867
"interval": 20,
18981868
"contents": {
1899-
"map_pw": {
1869+
"map_power": {
19001870
"type": "float32",
19011871
"range": [
19021872
-0.5,
@@ -1905,24 +1875,9 @@
19051875
"precision": 0.01,
19061876
"optimize": false
19071877
},
1908-
"map_sc": {
1909-
"type": "float32",
1910-
"range": [
1911-
0,
1912-
1
1913-
],
1914-
"precision": 0.01,
1915-
"optimize": false
1916-
},
1917-
"map_tv": {
1918-
"type": "float32",
1919-
"range": [
1920-
0,
1921-
1
1922-
],
1923-
"precision": 0.01,
1924-
"optimize": false
1925-
}
1878+
"sc_state": "Toggle",
1879+
"tv_state": "Toggle",
1880+
"reg_state": "Toggle"
19261881
}
19271882
},
19281883
{

0 commit comments

Comments
 (0)