2020/8/30 V2.0
Fill in information of CAN signals in a standard xls file, which the python script can read.
We have 3 sheets and up to 350 signals to convert. Theoretically, the number of sheets and signals can reach higher.
Run the script, and the script will generate several files.
THe generated files would appear in the original path. It will generate .c and .h files which run the dbc unpack and communication functions.
This script will generate a wireless version and a SD card version, which satisfied the needs of users.
The generation code can reach 3000 lines, which is hard to maintain mannually. With this tool, changes of database can be easily handled.
brief screenshot of .c file. It also generates comments which make the code readable.