<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>ROS2 - 分类 - 吕海峰的博客</title>
        <link>https://www.lvhaifeng.com/categories/ros2.html</link>
        <description>ROS2 - 分类 - 吕海峰的博客</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>haifeng.lvlv@outlook.com (吕海峰)</managingEditor>
            <webMaster>haifeng.lvlv@outlook.com (吕海峰)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Wed, 29 Apr 2026 10:35:21 &#43;0800</lastBuildDate><atom:link href="https://www.lvhaifeng.com/categories/ros2.html" rel="self" type="application/rss+xml" /><item>
    <title>Linux交叉编译(x86-arm64)和ROS2项目交叉编译</title>
    <link>https://www.lvhaifeng.com/20260429/ros2crosscompile.html</link>
    <pubDate>Wed, 29 Apr 2026 10:35:21 &#43;0800</pubDate>
    <author>haifeng.lvlv@outlook.com (吕海峰)</author>
    <guid>https://www.lvhaifeng.com/20260429/ros2crosscompile.html</guid>
    <description><![CDATA[<h3 id="交叉编译">交叉编译</h3>
<p>在大多数情况下，我们现在使用QEMU技术在X86平台上运行ARM容器，并将这些容器用作交叉编译工具。然而，由于主机环境与Docker环境的指令集架构不同，编译速度较慢。为了解决这个问题，我们可以直接在X86主机上使用ARM交叉编译工具链。在大型项目的开发过程中，当需要链接大量第三方库时，编译器会提示链接错误等问题。本篇博客主要介绍常用交叉编译的三种方式。</p>]]></description>
</item>
<item>
    <title>基于ROS2配置vscode和debug调试</title>
    <link>https://www.lvhaifeng.com/20260423/configvscodeforros2.html</link>
    <pubDate>Thu, 23 Apr 2026 11:47:17 &#43;0800</pubDate>
    <author>haifeng.lvlv@outlook.com (吕海峰)</author>
    <guid>https://www.lvhaifeng.com/20260423/configvscodeforros2.html</guid>
    <description><![CDATA[<h3 id="概述">概述</h3>
<p>本篇博客提供了在 Visual Studio Code (VS Code) 中高效进行 ROS 2 开发的完整配置指南。内容涵盖核心设置步骤，包括使用 GDB 调试 C++ 节点、通过 colcon 的符号链接安装（symlink-install）优化构建流程，以及利用 VS Code 的 tasks.json 自动化常见工作流。此外，教程还将介绍官方 ROS 2 扩展的功能，以进一步优化您的开发环境。遵循这些最佳实践，开发者可以显著提升生产力，并更轻松地识别机器人系统中的运行时错误。</p>
<p>本教程假设您的系统中已正确安装并配置好 ROS 2 和 Visual Studio Code。</p>
<p>在本教程中，我们将逐步介绍如何在 Visual Studio Code (VS Code) 中搭建开发环境，以便高效地调试和编译 ROS 2 功能包。我们将首先配置调试工具，帮助识别运行时错误，然后探讨如何利用 VS Code 的任务配置来简化构建流程。</p>]]></description>
</item>
</channel>
</rss>
