ROS2下使用TurtleBot3教程-9.SLAM导航(仿真)
新开终端,运行gazebo
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
新开终端,导航
ros2 launch turtlebot3_navigation2 navigation2.launch.py use_sim_time:=True map:=/home/robot/map_world.yaml
点击2D Pose Estimate初始化位姿,点击Navigation2 Goal选择目标点进行导航
效果如下:
<< 上一篇