1 Star 0 Fork 1K

my_intellegent_team / apollo

forked from ApolloAuto / apollo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
how_to_run_RTK_localization_module_on_your_local_computer.md 1.87 KB
一键复制 编辑 原始数据 按行查看 历史

How to Run RTK Localization Module On Your Local Computer

1. Preparation

2. Build Apollo

First check and make sure you are in Apollo Development Docker container before you proceed. Now you will need to build from the source.

# (Optional) To make sure you start clean
bash apollo.sh clean

bash apollo.sh build_opt

3. Run the RTK localization module

cyber_launch start /apollo/modules/localization/launch/rtk_localization.launch

In /apollo/data/log directory, you can see the localization log files.

  • localization.INFO : INFO log
  • localization.WARNING : WARNING log
  • localization.ERROR : ERROR log
  • localization.out : Redirect standard output
  • localizaiton.flags : A backup of configuration file

5. Play cyber records

In the downloaded data, you can find a folder named apollo3.5. Let's assume the path of this folder as DATA_PATH.

cd DATA_PATH/records
cyber_recorder play -f record.*

6. Record and Visualize localization result (optional)

Visualize Localization result

cyber_launch start /apollo/modules/localization/launch/msf_visualizer.launch

First, the visualization tool will generate a series of cache files from the localization map, which will be stored in the /apollo/cyber/data/map_visual directory.

Then it will receive the topics listed below and draw them on screen.

  • /apollo/sensor/lidar128/compensator/PointCloud2
  • /apollo/localization/pose

If everything is fine, you should see this on screen.

1

C++
1
https://gitee.com/davidwangys/apollo.git
git@gitee.com:davidwangys/apollo.git
davidwangys
apollo
apollo
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891