<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>代码陈诗</title><description>像诗一样写代码 | 全栈工程师陈诗的个人博客</description><link>https://versechen.github.io/</link><language>zh-CN</language><item><title>ros2_control 控制周期 命令回映与更新频率</title><link>https://versechen.github.io/blog/ros2-control-cycle-and-mock-hardware/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-control-cycle-and-mock-hardware/</guid><description>手算 GenericSystem 的三个周期，说明 read、update、write 的先后关系，并比较 Manager、控制器频率与 RRBot 的缓慢响应。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Controller Manager 初始化 服务与控制器管理</title><link>https://versechen.github.io/blog/ros2-controller-manager-and-services/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-controller-manager-and-services/</guid><description>沿机器人描述进入 Manager 的路径，拆解服务注册、std::bind、硬件生命周期和 add_controller_impl 的实际职责。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>ros2_control 硬件接口与设备映射</title><link>https://versechen.github.io/blog/ros2-interfaces-and-hardware-mapping/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-interfaces-and-hardware-mapping/</guid><description>追踪关节名、命令接口、内存数据、驱动对象和设备地址的对应关系，用可运行的 C++ 示例理解 map 为什么不会直接驱动电机。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>ROS 2 节点 Executor 与 spin 的运行原理</title><link>https://versechen.github.io/blog/ros2-node-executor-and-spin/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-node-executor-and-spin/</guid><description>从 Node 创建、服务 Future 和后台线程出发，解释 Executor 如何调度回调，以及 spin、spin_once、join 和 shutdown 的关系。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>pluginlib 插件加载 对象创建与动态库卸载</title><link>https://versechen.github.io/blog/ros2-pluginlib-and-plugin-lifecycle/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-pluginlib-and-plugin-lifecycle/</guid><description>从插件 XML、注册宏和动态库追到具体对象，理解基类指针的虚函数调用，以及节点关闭、对象析构和库卸载的区别。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>ROS 2 机器人启动与组件分工</title><link>https://versechen.github.io/blog/ros2-robot-startup-and-architecture/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-robot-startup-and-architecture/</guid><description>分清进程、节点、线程和插件，理解 URDF、robot_state_publisher、Controller Manager 与关节状态广播器的启动和数据关系。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Docker 中运行 RRBot 并理解运动检查脚本</title><link>https://versechen.github.io/blog/ros2-rrbot-docker-and-motion-check/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-rrbot-docker-and-motion-check/</guid><description>在 ROS 2 Jazzy 容器中验证位置命令和轨迹控制器切换，逐步解释 check_motion 脚本的客户端、回调、等待条件与 PASS 边界。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>ROS 2 与机器人控制专题学习导航</title><link>https://versechen.github.io/blog/ros2-series-guide/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-series-guide/</guid><description>按启动结构、执行器、管理服务、接口映射、插件、控制周期、RRBot 与性能分析串起学习路径，附问题索引和配套代码。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>ros2_control 耗时统计 性能分析与优化路径</title><link>https://versechen.github.io/blog/ros2-statistics-and-performance/</link><guid isPermaLink="true">https://versechen.github.io/blog/ros2-statistics-and-performance/</guid><description>从 REGISTER_ENTITY 到变量赋值和话题发布，区分执行耗时、实际周期、抖动与设备响应，建立基于统计和 tracing 的优化方法。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate></item><item><title>训练与推理入门（五）：测量 AllReduce，定位 NCCL 通信瓶颈</title><link>https://versechen.github.io/blog/nccl-allreduce-baseline/</link><guid isPermaLink="true">https://versechen.github.io/blog/nccl-allreduce-baseline/</guid><description>从 CPU 双进程练习到 GPU/NCCL 性能基线，解释通信计时、有效吞吐量、最慢 rank 和 Socket 路径，给出完整代码与排查顺序。</description><pubDate>Tue, 13 Oct 2026 00:00:00 GMT</pubDate></item><item><title>训练与推理入门（四）：集合通信错位与卡住诊断</title><link>https://versechen.github.io/blog/ddp-collective-hang-diagnosis/</link><guid isPermaLink="true">https://versechen.github.io/blog/ddp-collective-hang-diagnosis/</guid><description>用有超时保护的 CPU 双进程例子复现 rank 缺席，解释 collective 顺序、日志分支与调试开关。</description><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate></item><item><title>训练与推理入门（三）：DDP 的全局 loss 该怎么算</title><link>https://versechen.github.io/blog/ddp-global-loss-metrics/</link><guid isPermaLink="true">https://versechen.github.io/blog/ddp-global-loss-metrics/</guid><description>区分梯度同步与指标同步，用有效样本数加权汇总 loss，复现平均各 rank 均值造成的统计错误。</description><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate></item><item><title>训练与推理入门（二）：梯度累积与有效全局 batch</title><link>https://versechen.github.io/blog/ddp-gradient-accumulation/</link><guid isPermaLink="true">https://versechen.github.io/blog/ddp-gradient-accumulation/</guid><description>用两个 CPU 进程对照大 batch 与梯度累积，验证 loss 缩放、no_sync 和参数更新；给出完整代码与折叠答案。</description><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate></item><item><title>训练与推理入门（一）：从两个 CPU 进程看懂 PyTorch DDP</title><link>https://versechen.github.io/blog/ddp-basics-two-cpu-processes/</link><guid isPermaLink="true">https://versechen.github.io/blog/ddp-basics-two-cpu-processes/</guid><description>从一次 WSL 双进程训练出发，理清 rank、数据采样、batch、梯度同步和参数检查，并用完整代码与手算结果验证 DDP 的工作方式。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate></item><item><title>Markdown 写作能力指南</title><link>https://versechen.github.io/blog/markdown-style-guide/</link><guid isPermaLink="true">https://versechen.github.io/blog/markdown-style-guide/</guid><description>集中演示本站支持的目录、提示块、任务列表、表格、代码高亮、数学公式、Mermaid、PlantUML、脚注与原生 HTML 扩展。</description><pubDate>Wed, 15 Jul 2026 00:00:00 GMT</pubDate></item><item><title>在 Astro 中使用 MDX</title><link>https://versechen.github.io/blog/using-mdx/</link><guid isPermaLink="true">https://versechen.github.io/blog/using-mdx/</guid><description>通过 MDX 在 Markdown 内容中安全地复用 Astro 组件。</description><pubDate>Tue, 14 Jul 2026 00:00:00 GMT</pubDate></item><item><title>为什么我选择 Astro 构建个人博客</title><link>https://versechen.github.io/blog/third-post/</link><guid isPermaLink="true">https://versechen.github.io/blog/third-post/</guid><description>从整站 JavaScript 到内容优先的静态输出，聊聊 Astro Islands 架构为何更适合个人博客。</description><pubDate>Fri, 15 Sep 2023 00:00:00 GMT</pubDate></item><item><title>从零搭建个人博客：目标与技术方案</title><link>https://versechen.github.io/blog/first-post/</link><guid isPermaLink="true">https://versechen.github.io/blog/first-post/</guid><description>在写代码之前，先明确博客真正要解决的问题，并据此选择足够简单、可长期维护的技术方案。</description><pubDate>Sun, 10 Sep 2023 00:00:00 GMT</pubDate></item><item><title>全栈工程师的技术选型思考</title><link>https://versechen.github.io/blog/second-post/</link><guid isPermaLink="true">https://versechen.github.io/blog/second-post/</guid><description>前端、后端、数据库、部署不断变化，技术选型应如何在交付速度、团队能力与长期成本之间取舍？</description><pubDate>Tue, 22 Aug 2023 00:00:00 GMT</pubDate></item></channel></rss>