Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点云到谷歌地图 #45

Closed
qqstar-423 opened this issue Apr 25, 2023 · 5 comments
Closed

点云到谷歌地图 #45

qqstar-423 opened this issue Apr 25, 2023 · 5 comments

Comments

@qqstar-423
Copy link

qqstar-423 commented Apr 25, 2023

感谢你们伟大的开源!

有一个代码之外的问题想要请问一下,我看到您有一个hkust.gif将点云地图映射到了谷歌地图上,这实在太酷辣!但我搜索了很久没有找到相关的教程,我想请问一下你们用的是什么工具呢?

2023-04-25 22-06-14屏幕截图

@JokerJohn
Copy link
Owner

仓库中有一个rviz-satellite 的ros插件,你需要先安装这个。然后修改launch文件中你的地图起点gnss坐标,

<!--set your orgin gps lla  22.3387279108228 114.263622199692 87.7310562180355 -->
<node pkg="rostopic" type="rostopic" name="fake_gps_fix"
      args="pub gps/fix sensor_msgs/NavSatFix '{ header: auto, latitude: 22.3387279108228, longitude: 114.263622199692, altitude:  87.7310562}'"
      output="screen"/>

@qqstar-423
Copy link
Author

感谢您的回复!我按照rviz-satellite的README修改了gps初始配置文件,成功的加载了卫星图,但是我发现我的起点会随着时间而不断的变换,这是为什么呢?我的rviz配置如下图,GPS话题为/fix410cff
111

@JokerJohn
Copy link
Owner

修改robotFrame为你的body系,
image

@qqstar-423
Copy link
Author

感谢您的回答!我已成功运行(虽然地图有点简陋),很抱歉问之前没有好好看您给出的源码和readme,再次感谢!

@JokerJohn
Copy link
Owner

感谢您的回答!我已成功运行(虽然地图有点简陋),很抱歉问之前没有好好看您给出的源码和readme,再次感谢!

看你的截图,地图简陋的原因是你用的osm地图吧,你要用google map那种的话,需要换个一个api,比如Tomtom的map

@JokerJohn JokerJohn pinned this issue Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants