ROS2工作空间配置问题

一、创建工作空间
二、将源码放入工作空间中的src文件夹
三、下载源码依赖项,可以利用rosdepc自动检测下载
rosdepc install -i --from-path src --rosdistro humble -y
可能存在无法解析依赖项的问题:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
我们可以手动下载依赖项目,如对于:
learning_tf: Cannot locate rosdep definition for [tf_transformations]
我们可以手动下载依赖项目tf_transformations(这里以ros2foxy为例):
sudo apt install ros-foxy-joint-tf_transformations

四、编译工作空间

posted @ 2024-11-02 18:01  LinYuFei--  阅读(125)  评论(0)    收藏  举报