ROS下turtlebot的gazebo虚拟仿真环境使用

全文主要参考了turtlebot官方教程

GMapping建图

采用的是默认的虚拟环境

roslaunch turtlebot_gazebo turtlebot_world.launch

也可以使用其他的环境

roslaunch turtlebot_gazebo turtlebot_world.launch world_file:=worlds/willowgarage.world

建图

roslaunch turtlebot_gazebo gmapping_demo.launch
roslaunch turtlebot_rviz_launchers view_navigation.launch

保存地图

roslaunch turtlebot_gazebo amcl_demo.launch map_file:=to your map YAML file>

导航

roslaunch turtlebot_gazebo turtlebot_world.launch

roslaunch turtlebot_gazebo amcl_demo.launch

roslaunch turtlebot_rviz_launchers view_navigation.launch

你可能感兴趣的:(ROS)