Skip to content
프로젝트

소개

动手学ROS2第二阶段课程源码|机器人建模仿真fishbot

과학 및 공학

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

注意当前分支代码为humble版本,如需foxy版本请在左上角切换分支

基于ROS2实现的Fishbot机器人

微信图片_20220908133932

此代码包含仿真及真机两部分,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,加入技术交流群

错误

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"

관련 프로젝트 살펴보기

불러오는 중…