dbcppp
dbcppp copied to clipboard
C/C++ DBC file parser/tool
when use this command :dbcppp dbc2 --dbc=file.dbc --format=human, and the signals is motorola byte order in file.dbc, the layout does not display correctly, It no longer plots the signal position.
fixes #140
The included boost library uses std::unary_function which [was removed in c++17](https://docs.w3cub.com/cpp/utility/functional/unary_function), probably boost will need to be updated. ``` dbcppp/third-party/boost/boost/container_hash/hash.hpp:131:33: error: no template named 'unary_function' in namespace 'std'; did you...
Currently, the project's source files are collected via globbing. `src/libdbcppp/CMakeLists.txt` is one example (see [lines 31ff](https://github.com/xR3b0rn/dbcppp/blob/59ee9e862f29f14de705f9b0ac3263e63e701db4/src/libdbcppp/CMakeLists.txt#L31-L39)), but this certainly applies to other `CMakeLists.txt` as well. The docs explicitly discourage this...
The toplevel `CMakeLists.txt` currently includes the dependency `libxmlmm` "by hand" (see [lines 26ff](https://github.com/xR3b0rn/dbcppp/blob/59ee9e862f29f14de705f9b0ac3263e63e701db4/CMakeLists.txt#L26-L49)). Consider including the dependency via its CMake integration (e.g. some call to `add_subdirectory`).
The `CMakeLists.txt` currently reads ([line 9](https://github.com/xR3b0rn/dbcppp/blob/59ee9e862f29f14de705f9b0ac3263e63e701db4/CMakeLists.txt#LL9C1-L9C27)): ```cmake set(CMAKE_CXX_STANDARD 17) ``` When using an old compiler that does not support `c++17`, CMake will silently fall back to an older standard. This...
My .dbc file says this: ``` BA_DEF_ SG_ "SignalID" INT 0 100000 ; BA_ "SignalID" SG_ 786 BMSmaxPackTemperature 237; ``` In code, I get the ISignal, and ask for its...
fix #130
Improve post processing speed for larger DBC files. The file used for testing is 7.3M large. Time spent to parse the file went from approx. 72 seconds (v3.2.6) to 0.018...
Here are outpus from CMake ``` Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19045. The C compiler identification is MSVC 19.29.30154.0 The CXX compiler identification is MSVC 19.29.30154.0 Detecting...