TurtleBot3 ROS2入门教程-5.安装依赖的ROS2包

1.在远程PC上使用Ctrl+Alt+T打开终端。

2.安装Gazebo

[远程电脑]

sudo apt-get install ros-${ROS_DISTRO}-ros-gz -y

sudo apt install ros-humble-gazebo-* -y

sudo aptitude install ros-humble-gazebo-* -y


测试Gazebo

ign gazebo shapes.sdf


3.安装Cartographer

[远程电脑]

sudo apt install ros-humble-cartographer -y



sudo apt install ros-humble-cartographer-ros -y


4.安装Navigation2

[远程电脑]

sudo apt install ros-humble-navigation2 -y


sudo apt install ros-humble-nav2-bringup -y