CleanRobot-UESTC/运行方法.txt

25 lines
645 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//融合代码
./main.out /dev/ttyUSB0
//ttyUSB0为雷达默认设备号如果有变化需要修改摄像头设备号需要源码修改。
//cartographer:
//运行cartographer
进入目录cd ~/carto_ws
环境变量source devel_isolated/setup.bash
运行roslaunch cartographer_ros wyk.launch
//后处理:
运行系统Ubuntu
运行流程:
1. 运行map.out
2. 当小车建图结束时点击map可视化窗口并按ESC建程序会自动推出并将接收到的图像保存为map.png
3. 将map.png放在main.py文件同目录下
4. 运行main.py文件即可得到经过后处理的语义地图
注: