# fishbot **Repository Path**: yvanGuo/fishbot ## Basic Information - **Project Name**: fishbot - **Description**: 基于fishbot的学习nav2和路劲规划算法的代码 - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-04-02 - **Last Updated**: 2025-09-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 注意当前代码为从鱼香ROS的fishros仓库fork出来的humble版本,用于学习nav2 # 基于ROS2实现的Fishbot机器人 ![微信图片_20220908133932](doc/imgs/微信图片_20220908133932.png) 此代码包含仿真及真机两部分,humble分支为仿真部分代码,使用方法见:https://fishros.com/d2lros2/ ## 1.介绍 ## 2.安装运行 ### 2.1 下载编译 ``` git clone --recursive https://github.com/fishros/fishbot.git -b humble cd fishbot rosdep install --from-paths src -y colcon build ``` ### 2.2 运行测试 #### 在RVIZ中显示机器人模型 ``` 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 ``` #### Nav2 ``` source install/setup.bash ros2 launch fishbot_navigation2 navigation2.launch.py use_sim_time:=True ``` ## 作者 - [鱼香ROS](https://fishros.com)-小鱼 欢迎大家关注公众号鱼香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" ```