Skip to content
Proyectos

muziing/ROS2_Learning

Ver en GitHub

Acerca de

Apuntes y código para aprender ROS2 con el curso de Zhao Xuzuo.

Aprendizaje y educación

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

ROS2 学习

ROS2 version Ubuntu version Python code style

说明

对应课程:赵虚左 - ROS2理论与实践核心篇

课程封面

仅使用 Git 管理了 src 目录下的源代码,与本地配置相关的开发配置文件、install 目录下的编译结果不做同步。

目录

每个 wsXX_XXX 为工作空间级目录,cpp00_xxx 或 py00_xxx 为功能包级目录。

ws00_helloworld - ROS2 "Hello World" 初体验

ws01_plumbing - 通信机制

ws02_time - 时间相关 API 的使用

ws03_exercise - 期中大作业

ws04_tools - launch、rosbag2、tf坐标变换

py01_launch - Python 功能包中使用 launch 示例

cpp01_launch - C++ 功能包中使用 launch 示例

cpp02_rosbag - C++ 中编程使用 rosbag2

cpp03_tf_broadcaster - 坐标变换广播器

py03_tf_broadcaster - 坐标变换广播器

附录:VS Code 开发环境配置

插件

配置文件

仅为示意,需要根据实际路径替换。

// .vscode/c_cpp_properties.json
{
    "configurations": [
        {
            "browse": {
                "databaseFilename": "${default}",
                "limitSymbolsToIncludedHeaders": true
            },
            "includePath": [
                "${workspaceFolder}/**",
                "/opt/ros/humble/include/**",
                "/usr/include/**"
            ],
            "name": "ROS",
            "intelliSenseMode": "gcc-x64",
            "compilerPath": "/usr/bin/gcc",
            "cStandard": "gnu11",
            "cppStandard": "c++17",
            "configurationProvider": "ms-vscode.cmake-tools"
        }
    ],
    "version": 4
}
// .vscode/settings.json
{
    "ros.distro": "humble",
    "python.analysis.extraPaths": [
        "/opt/ros/humble/lib/python3.10/site-packages"
    ],
    "python.autoComplete.extraPaths": [
        "/opt/ros/humble/lib/python3.10/site-packages",
    ],
}

Explorar proyectos relacionados

Cargando…