Skip to content

Commit 78923aa

Browse files
authored
Merge pull request #247 from phanja/patch-1
fix oilch_dis pid, add odometer and inits
2 parents 4348665 + 6397976 commit 78923aa

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

vehicle_profiles/toyota/rav4.json

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,39 @@
11
{
22
"car_model": "Toyota: Rav4",
3-
"init": "ATSP6;ATST96;",
3+
"init": "ATSP6;",
44
"pids": [
55
{
66
"pid": "015B2",
77
"parameters": [
88
{
99
"name": "SoC",
10+
"pid_init": "ATST96;",
1011
"expression": "(B3*20)/51",
1112
"unit": "%",
1213
"class": "battery"
1314
}
1415
]
1516
},
1617
{
17-
"pid":"01311",
18+
"pid": "01A61",
19+
"parameters": [
20+
{
21+
"name": "Odometer",
22+
"pid_init": "ATST96;",
23+
"expression": "([B3:B6])/10",
24+
"unit": "km",
25+
"class": "distance"
26+
}
27+
]
28+
},
29+
{
30+
"pid":"01317",
1831
"parameters": [
1932
{
2033
"name": "OILCH_DIS",
2134
"pid_init": "ATSH7DF;",
22-
"expression": "((256*B3)+B4)/1.609",
23-
"unit": "mi",
35+
"expression": "(256*B3)+B4",
36+
"unit": "km",
2437
"class": "distance"
2538
}
2639
]

0 commit comments

Comments
 (0)