Cartographer_ROS傻瓜式建图
程序员文章站
2022-06-05 13:09:28
...
Cartographer_ROS安装(需要*)
日期 | 更新 | 编制 |
---|---|---|
2020-03-12 | 首次搬运 | |
参考 https://google-cartographer-ros.readthedocs.io/en/latest/compilation.html
`
1. Install wstool and rosdep.
sudo apt-get update
sudo apt-get install -y python-wstool python-rosdep ninja-build
2.Create a new workspace in’catkin_ws’.
mkdir catkin_ws
cd catkin_ws
wstool init src
3.Merge the cartographer_ros.rosinstall file and fetch code for dependencies.
wstool merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall
wstool update -t src
4.Install deb dependencies.
rosdep init
rosdep update
rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
5.Build and install.
pcatkin_make_isolated --install --use-ninja
6.在线建图
source install_isolated/setup.bash #加载环境
roslaunch cartographer_ros backpack_2d.launch #启动在线建图
rosbag play --clock ***.bag #播放建图.bag
rosrun map_server map_saver --free 20 --occ 60 -f * #保存建图后的地图.pgm
kolourpaint #使用修图工具
推荐阅读
-
3Dmax初级教程:效果图的快速简单建摸
-
UML怎样建用例图?UML建用例图的图文教程
-
BZOJ3073: [Pa2011]Journeys(线段树优化建图 Dijkstra)
-
Edraw Max亿图图示怎么绘制建万圣节精灵形象?
-
POJ 3281 Dining (网络流/最大流建图拆点 EK+dinic解法)
-
POJ 1770 Special Experiment G++ 例题 dfs动态规划 建图巧妙 背
-
思岚A1激光雷达hector_mapping建图与定位
-
Codeforce 1270 G. Subset with Zero Sum(数学 + 建图构造 + 思维)
-
从零开始做自动驾驶定位(九): 建图系统结构优化
-
60秒组建VPN:蒲公英路由器X5开箱图赏