TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Cantools – an extensive set of CAN bus tools

220 点作者 eerimoq超过 5 年前

15 条评论

jmiskovic超过 5 年前
Thank you for making cantools. I&#x27;m using it daily and enjoying how easy and powerful it is.<p>Two other projects also deserve to be mentioned. The opendbc is attempt to make sense of CAN traffic in different cars, they reverse-engineer messages and provide descriptions to each. It&#x27;s part of comma.ai open source autonomous driving effort. The other project is CANboat which does similar thing for NMEA2000 protocol used on boats.<p>The industry so far is very closed and rejects concept of interoperability. It&#x27;s nice that somebody is taking steps in right direction.
评论 #22046435 未加载
评论 #22045998 未加载
monocasa超过 5 年前
Throwing out there that Wireshark has CAN parsing ability. For any else of y&#x27;all that have been stuck with a legacy non standard CAN protocol running on industrial automation, writing a Lua protocol parser and a little script to convert whatever internal format you&#x27;ve been using to pcap-ng will be an afternoon or two very well spent.
评论 #22046543 未加载
fullstop超过 5 年前
If you work with J1939 there is a can-j1939 kernel module which was mainlined in the 5.4 Linux kernel. It handles address negotiation and other time-sensitive matters which would have had to be done in user space previously.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;linux-can&#x2F;can-utils&#x2F;blob&#x2F;master&#x2F;can-j1939-kickstart.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;linux-can&#x2F;can-utils&#x2F;blob&#x2F;master&#x2F;can-j1939...</a>
评论 #22047291 未加载
nocman超过 5 年前
I would like to suggest that in your &quot;About&quot; suggestion you provide a short description what a &quot;CAN bus&quot; is (with links to <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;CAN_bus" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;CAN_bus</a> - or whatever you feel is appropriate ).<p>I&#x27;m a very technical person, and I honestly don&#x27;t think I&#x27;d ever heard of it. I spent a decent bit of time looking on the site trying to figure out what it was before resorting to Google.<p>It&#x27;s not a huge deal, but seems to me like it would be helpful, and worth the effort.
评论 #22045131 未加载
评论 #22046084 未加载
评论 #22048634 未加载
评论 #22046600 未加载
prostodata超过 5 年前
Here is another project for working with CAN:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;hardbyte&#x2F;python-can" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hardbyte&#x2F;python-can</a><p>I used it (as well as Cantools) for importing various CAN-specific data formats.
contingencies超过 5 年前
Has anyone taken canbus and deployed it on a greenfield non-automotive system? If so, what was the thought process to justify use of this protocol vs. something like ethernet? The selling point seems to be &#x27;save copper&#x27; but the associated overheads (tooling, training, reduced throughput[0], larger connectors, multidrop bus debug drawbacks, etc.) seem like they would <i>far</i> outweigh any nominal savings in all but the highest volume production scenarios.<p>[0] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;ELM327#Protocols_supported_by_ELM327" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;ELM327#Protocols_supported_by_...</a>
评论 #22047825 未加载
评论 #22049625 未加载
评论 #22052437 未加载
评论 #22047786 未加载
评论 #22048683 未加载
评论 #22050150 未加载
floathub超过 5 年前
This looks well designed and thought out. Does anyone know if it has been applied to NMEA-2000 (a marine electronics flavor of CANbus)?
评论 #22044661 未加载
评论 #22046155 未加载
评论 #22052449 未加载
zro超过 5 年前
Thanks for all your hard work! We used this constantly at $oldjob and it saved us a ton of time and effort.
jmt_超过 5 年前
I&#x27;m very interested in beginning to monitor some information on my vehicle. Is the usual workflow involve pulling a dbc file off the vehicle with a CAN bus reader and using software to look into it? Or is it more complicated? Anyone have recommendations as to the reader itself?
评论 #22045901 未加载
评论 #22048926 未加载
评论 #22045685 未加载
rationalthug超过 5 年前
For those interested in CAN bus for UAVs, there is <a href="https:&#x2F;&#x2F;github.com&#x2F;uavcan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;uavcan</a> as well.
dmd超过 5 年前
Ugh, where was this when I needed it in 2013? At $OLDJOB my boss and I wrote pretty much this entire thing, in an unholy mix of bash and Tcl, much more poorly.
评论 #22044795 未加载
评论 #22044574 未加载
thbr99超过 5 年前
We have been using proprietary CANoe for well over 6 years. Will evaluate this. But don&#x27;t know if corporate will like it or not.
评论 #22046110 未加载
seren超过 5 年前
This seems to work with a candump format input, does it works with canalyzer *.asc format ?
评论 #22044704 未加载
t34543超过 5 年前
Beautiful - I’ve been using Intrepid Vehicle Spy for awhile but the cost is hard to justify for a hobbyist.
m3kw9超过 5 年前
What’s missing is a can bus sim
评论 #22045569 未加载
评论 #22045325 未加载