<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ADAS on Text Matrix</title><link>https://txtmix.com/tags/adas/</link><description>Recent content in ADAS on Text Matrix</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 21 Jul 2026 20:06:14 +0800</lastBuildDate><atom:link href="https://txtmix.com/tags/adas/index.xml" rel="self" type="application/rss+xml"/><item><title>commaai/openpilot 深度拆解：开源 L2 驾驶辅助的真正边界在哪里</title><link>https://txtmix.com/posts/tech/commaai-openpilot-open-source-driver-assist-guide/</link><pubDate>Fri, 26 Jun 2026 21:05:21 +0800</pubDate><guid>https://txtmix.com/posts/tech/commaai-openpilot-open-source-driver-assist-guide/</guid><description>&lt;h1 id="commaaiopenpilot-深度拆解开源-l2-驾驶辅助的真正边界在哪里">commaai/openpilot 深度拆解：开源 L2 驾驶辅助的真正边界在哪里&lt;/h1>
&lt;h2 id="学习目标">学习目标&lt;/h2>
&lt;p>读完之后，你应该可以回答下面五件事：&lt;/p>
&lt;ol>
&lt;li>openpilot 的核心定位是 L2 ADAS（Advanced Driver Assistance System，先进驾驶辅助系统）而不是 L4 自动驾驶，它的安全模型、硬件要求和&amp;quot;300+ 车型&amp;quot;三个词背后各自承担什么。&lt;/li>
&lt;li>cereal 消息总线 + capnp（Cap&amp;rsquo;n Proto 序列化协议） + msgq（基于共享内存的发布订阅总线）这套&amp;quot;消息驱动多进程&amp;quot;骨架，让 modeld、controlsd、selfdrived、locationd、pandad、card 各自独立运行的机制。&lt;/li>
&lt;li>一次&amp;quot;车道内自动跟车 + 居中&amp;quot;任务，从摄像头帧到 CAN 总线（Controller Area Network，控制器局域网，是车载设备之间通信的协议）字节的真实流转路径。&lt;/li>
&lt;li>为什么 panda 这个用 C 写的安全固件要单独存在，以及 ISO 26262（汽车功能安全国际标准）和 MISRA C（针对嵌入式 C 语言的编码规范）这两条规则链在 openpilot 里卡的是什么。&lt;/li>
&lt;li>什么样的人适合在自己的车上装 openpilot，什么样的人应该立刻走开。&lt;/li>
&lt;/ol>
&lt;h2 id="目录">目录&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="#1-%e4%b8%80%e5%8f%a5%e8%af%9d%e5%ae%9a%e4%bd%8dl2-%e4%b8%8d%e6%98%af-l4" rel="">1. 一句话定位：L2，不是 L4&lt;/a>&lt;/li>
&lt;li>&lt;a href="#2-%e6%a0%b8%e5%bf%83%e6%95%b0%e6%8d%ae%e4%b8%8e%e7%a1%ac%e4%bb%b6%e5%9f%ba%e7%ba%bf" rel="">2. 核心数据与硬件基线&lt;/a>&lt;/li>
&lt;li>&lt;a href="#3-%e7%b3%bb%e7%bb%9f%e5%9c%b0%e5%9b%be%e6%b6%88%e6%81%af%e6%80%bb%e7%ba%bf--%e4%b8%83%e5%a4%a7%e8%bf%9b%e7%a8%8b" rel="">3. 系统地图：消息总线 + 七大进程&lt;/a>&lt;/li>
&lt;li>&lt;a href="#4-%e5%ad%90%e7%b3%bb%e7%bb%9f%e8%be%b9%e7%95%8c%e6%8a%8a%e5%ae%b9%e6%98%93%e6%b7%b7%e6%b7%86%e7%9a%84%e5%b9%b6%e8%a1%8c%e6%9c%ba%e5%88%b6%e6%8b%86%e5%bc%80" rel="">4. 子系统边界：把容易混淆的并行机制拆开&lt;/a>
&lt;ul>
&lt;li>&lt;a href="#41-modeld%e7%ab%af%e5%88%b0%e7%ab%af%e9%a9%be%e9%a9%b6%e6%a8%a1%e5%9e%8b" rel="">4.1 modeld：端到端驾驶模型&lt;/a>&lt;/li>
&lt;li>&lt;a href="#42-locationd%e7%ba%af%e8%a7%86%e8%a7%89%e5%ae%9a%e4%bd%8d" rel="">4.2 locationd：纯视觉定位&lt;/a>&lt;/li>
&lt;li>&lt;a href="#43-controlsd%e6%a8%aa%e7%ba%b5%e5%90%91%e6%8e%a7%e5%88%b6%e5%99%a8" rel="">4.3 controlsd：横纵向控制器&lt;/a>&lt;/li>
&lt;li>&lt;a href="#44-selfdrived%e7%8a%b6%e6%80%81%e6%9c%ba%e4%b8%8e%e5%91%8a%e8%ad%a6" rel="">4.4 selfdrived：状态机与告警&lt;/a>&lt;/li>
&lt;li>&lt;a href="#45-card--opendbc%e8%bd%a6%e5%9e%8b%e6%8e%a5%e5%8f%a3%e5%b1%82" rel="">4.5 card + opendbc：车型接口层&lt;/a>&lt;/li>
&lt;li>&lt;a href="#46-pandadcan-%e6%80%bb%e7%ba%bf%e6%a1%a5" rel="">4.6 pandad：CAN 总线桥&lt;/a>&lt;/li>
&lt;li>&lt;a href="#47-monitoring%e9%a9%be%e9%a9%b6%e5%91%98%e7%9b%91%e6%8e%a7" rel="">4.7 monitoring：驾驶员监控&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="#5-cereal%e6%89%80%e6%9c%89%e8%bf%9b%e7%a8%8b%e7%94%a8%e5%90%8c%e4%b8%80%e7%a7%8d%e8%af%ad%e8%a8%80%e8%af%b4%e8%af%9d" rel="">5. cereal：所有进程用同一种语言说话&lt;/a>&lt;/li>
&lt;li>&lt;a href="#6-%e4%b8%80%e6%ac%a1%e8%b7%9f%e8%bd%a6%e4%bb%bb%e5%8a%a1%e5%a6%82%e4%bd%95%e6%b5%81%e8%bf%87%e7%b3%bb%e7%bb%9f" rel="">6. 一次跟车任务如何流过系统&lt;/a>&lt;/li>
&lt;li>&lt;a href="#7-%e5%ae%89%e5%85%a8%e6%a8%a1%e5%9e%8bpanda-%e6%89%8d%e6%98%af%e7%a1%ac%e5%88%b9%e8%bd%a6%e9%82%a3%e4%b8%80%e9%81%93" rel="">7. 安全模型：panda 才是&amp;quot;硬刹车&amp;quot;那一道&lt;/a>&lt;/li>
&lt;li>&lt;a href="#8-benchmark-%e6%ae%b5%e6%b5%8b%e7%9a%84%e6%98%af%e4%bb%80%e4%b9%88%e4%b8%8d%e8%83%bd%e6%8e%a8%e5%87%ba%e4%bb%80%e4%b9%88" rel="">8. benchmark 段：测的是什么，不能推出什么&lt;/a>&lt;/li>
&lt;li>&lt;a href="#9-%e6%95%b0%e6%8d%ae%e4%b8%8a%e4%bc%a0%e9%9a%90%e7%a7%81%e4%b8%8e%e5%bc%80%e6%ba%90%e8%be%b9%e7%95%8c" rel="">9. 数据上传、隐私与开源边界&lt;/a>&lt;/li>
&lt;li>&lt;a href="#10-%e9%80%82%e7%94%a8%e8%be%b9%e7%95%8c%e4%b8%8e%e9%87%87%e7%94%a8%e9%a1%ba%e5%ba%8f" rel="">10. 适用边界与采用顺序&lt;/a>&lt;/li>
&lt;li>&lt;a href="#11-%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98%e4%b8%8e%e6%8e%92%e6%9f%a5%e6%8c%87%e5%bc%95" rel="">11. 常见问题与排查指引&lt;/a>&lt;/li>
&lt;li>&lt;a href="#12-%e5%bb%b6%e4%bc%b8%e9%98%85%e8%af%bb" rel="">12. 延伸阅读&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="1-一句话定位l2不是-l4">1. 一句话定位：L2，不是 L4&lt;/h2>
&lt;p>openpilot 是 &lt;a href="https://github.com/commaai/openpilot" target="_blank" rel="noopener noreffer ">commaai/openpilot&lt;/a> 项目。它在 GitHub 上的描述只有两行：&lt;/p></description></item></channel></rss>