Ubuntu22.04-ROS2下navgation2编译到运行
这里写自定义目录标题
- 下载安装源码
- 根据鱼香肉丝在gitee网站步骤下载安装
- 编译后启动顺序
下载安装源码
根据鱼香肉丝在gitee网站步骤下载安装
https://gitee.com/chenxu_ustc/fishbot
编译后启动顺序
新启动一个终端
source install/setup.bash
ros2 launch fishbot_description gazebo.launch.py
在启动一个新的终端
source install/setup.bash
ros2 launch fishbot_navigation2 navigation2.launch.py use_sim_time:=True
报错:
file 'navigation2.launch.py' was not found in the share directory of package 'fishbot_navigation2' which is at '/home/zgl/project/fishbot/install/fishbot_navigation2/share/fishbot_navigation2'
发现install 下面的文件夹没有launch文件夹
直接复制src下面相应的launch文件夹内容过去,就可以了。