擅长:python、mysql、java
<p>您可以使用CAN总线工具(<a href="https://cantools.readthedocs.io/en/latest/" rel="nofollow noreferrer">https://cantools.readthedocs.io/en/latest/</a>)加载.DBC文件并正确解码CAN消息:</p>
<pre><code>pip install cantools
</code></pre>
<p>下面是示例代码:</p>
^{pr2}$