Skip to content

Commit

Permalink
Merge pull request #247 from phanja/patch-1
Browse files Browse the repository at this point in the history
fix oilch_dis pid, add odometer and inits
  • Loading branch information
meatpiHQ authored Nov 6, 2024
2 parents 4348665 + 6397976 commit 78923aa
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions vehicle_profiles/toyota/rav4.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
{
"car_model": "Toyota: Rav4",
"init": "ATSP6;ATST96;",
"init": "ATSP6;",
"pids": [
{
"pid": "015B2",
"parameters": [
{
"name": "SoC",
"pid_init": "ATST96;",
"expression": "(B3*20)/51",
"unit": "%",
"class": "battery"
}
]
},
{
"pid":"01311",
"pid": "01A61",
"parameters": [
{
"name": "Odometer",
"pid_init": "ATST96;",
"expression": "([B3:B6])/10",
"unit": "km",
"class": "distance"
}
]
},
{
"pid":"01317",
"parameters": [
{
"name": "OILCH_DIS",
"pid_init": "ATSH7DF;",
"expression": "((256*B3)+B4)/1.609",
"unit": "mi",
"expression": "(256*B3)+B4",
"unit": "km",
"class": "distance"
}
]
Expand Down

0 comments on commit 78923aa

Please sign in to comment.