Re: [agl-dev-community] Converting canoe xml to json #help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Romain,
thank you for your words and the testing.
I made a short test with:
opendbc-b9a00d36f23453670d604afd333df33c3325692b/toyota_prius_2017_can1.dbc 
opendbc-b9a00d36f23453670d604afd333df33c3325692b/toyota_prius_2017_can0.dbc 

Could you do the same on your computer and test if the messages are usable for agl-low-can-generator?

---
python3 dbc2json_converter.py -i ~/Downloads/opendbc-b9a00d36f23453670d604afd333df33c3325692b/toyota_prius_2017_can1.dbc 
Number of messages 19
Finished

python3 dbc2json_converter.py -i ~/Downloads/opendbc-b9a00d36f23453670d604afd333df33c3325692b/toyota_prius_2017_can0.dbc 
Number of messages 16
Finished
---

What I forgot at the moment is setting the right bus maybe you could do that by hand or change it in my script as default value in line 108.
I have an concept in my mind that will have different can-files for the different bus, I would add a parameter for the bus e.g. "hs" or "ls" in the script as an arg.

It would be nice if it will working for you and you can generate the right .cpp

Thank you
Thomas
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8356) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Mute #help
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux