搭建gmaping建图环境
2016-06-08 17:23
204 查看
下面介绍使用Rplidar a1激光雷达进行gmapping建图
安装依赖包
安装依赖包
sudo apt-get install ros-indigo-serial ros-indigo-turtlebot-rviz-launchers
mkdir -p ~/dashgo_ws/src cd ~/dashgo_ws/src ## dashgo SLAM版本 git clone https://github.com/EAIBOT/dashgo.git cd dashgo git checkout slam_01 ## 激光雷达rplidar 一代驱动 git clone https://github.com/robopeak/rplidar_ros.git cd rplidar_ros git checkout 1.0.1 ## 建图依赖包 git clone https://github.com/ros-perception/slam_gmapping git clone https://github.com/ros-perception/openslam_gmapping git clone https://github.com/ros-planning/navigation.git[/code]
然后编译串口访问权限
创建dashgo和rplidar的串口别名的访问roscd dashgo_bringup/startup sudo sh create_dashgo_udev.sh sudo sh create_rplidar_udev.sh
重新插拔连接电脑的USB线运行
roslaunch dashgo_nav gmapping_demo.launch rosrun dashgo_bringup teleop_twist_keyboard.py roslaunch turtlebot_rviz_launchers view_navigation.launch
保存地图roscd dashgo_nav/maps rosrun map_server map_saver -f my_map
运行效果如下图:![]()
相关文章推荐
- POJ2286 The Rotation Game
- eclipse使用tomcat进行部署时编译代码不一致的处理
- vim配置
- expect 切换用户后自动执行shell命令
- CSS3中的display: box
- shell变量
- 简单的屏幕弹幕功能的实现(原创)
- 编程进阶
- Attributes:文本属性 和NSAttributedString
- 关于数据权限设计的一些想法
- STL--vertor、map
- Rundeck任务自动化发布系统部署与配置
- Java BIO、NIO、AIO
- C++Primer 1.2章笔记整理
- 第13周动物这样叫2-2
- SQL Server笔记1
- 在dialog中获取Edittext的值
- zaker splash页面实现
- CentOS部署应用常用命令汇总
- 面向对象的思想