智能佳机器人知识社区

展开菜单

ROS2下使用TurtleBot3教程-8.SLAM建图(仿真)

ROS2下使用TurtleBot3教程-8.SLAM建图(仿真)
新开终端,运行gazeboros2 launch turtlebot3_gazebo turtlebot3_world.launch.py新开终端,运行建图ros2 launch turtlebot3_cartographer cartographer.launch.py use_sim_time:=True新开终端,启动键盘ros2 run turtlebot3_teleop teleop_keyboard控制小车随机移动,并进行建图,并查看建立的地图,差不多后,保存地图。...

ROS2下使用TurtleBot3教程-9.SLAM导航(仿真)

ROS2下使用TurtleBot3教程-9.SLAM导航(仿真)
新开终端,运行gazeboros2 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选择目标点进行导航效果如下:...