此代码包含仿真及真机两部分,humble分支为仿真部分代码,使用方法见:https://fishros.com/d2lros2/
git clone --recursive https://github.com/fishros/fishbot.git -b humble
cd fishbot
rosdep install --from-paths src -y
colcon build
source install/setup.bash
ros2 launch fishbot_description display_rviz2.launch.py
source install/setup.bash
ros2 launch fishbot_description gazebo.launch.py
source install/setup.bash
ros2 launch fishbot_cartographer cartographer.launch.py
source install/setup.bash
ros2 launch fishbot_navigation2 navigation2.launch.py use_sim_time:=True
- 鱼香ROS-小鱼
欢迎大家关注公众号鱼香ROS,加入技术交流群
错误
None of the required 'cairo>=1.12.16' found
解决方法
export PKG_CONFIG_PATH="/usr/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH"