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

Adding SLAM maps is inconsistent with Google Maps #116

Open
zyqww opened this issue Aug 31, 2023 · 4 comments
Open

Adding SLAM maps is inconsistent with Google Maps #116

zyqww opened this issue Aug 31, 2023 · 4 comments

Comments

@zyqww
Copy link

zyqww commented Aug 31, 2023

image

@zyqww
Copy link
Author

zyqww commented Aug 31, 2023

I put the first frame data in sensor_msgs::NavSatFix format in demo.gps, and add the point cloud receiving topic at the same time, but the displayed point cloud and the loaded Google map seem to have a rotation error? What is the reason for this? Also is only latitude and longitude considered here and no altitude? i.e. is only the xy axis considered and not the z axis?

@Timple
Copy link
Member

Timple commented Aug 31, 2023

The pictures don't hold z-info. So that is discarded indeed.

Regarding your rotation issues: there could be a lot of reasons for that. I recommend you verify if you are adhering exactly to REP 105: https://www.ros.org/reps/rep-0105.html

@zyqww
Copy link
Author

zyqww commented Sep 4, 2023

Sorry to bother you, I checked REP 105: https://www.ros.org/reps/rep-0105.html, and still have the rotation error, which seems like an intractable problem to me. I think the "map" coordinate system of the odometry calculation method in the ros standard is "body", and the "base_link" coordinate system is "camera_init". The frame_id of the sensor_msgs/NavSatFix topic in the data set is "gps", and some related settings are shown in the following figure:

image
image
image

When I set the coordinate transformation to "body" and "camera_init" or "body" and "gps" in demo.launch, a bigger error will occur. The former will report an error, and the latter will move in the opposite direction.

@kuanghuijun
Copy link

Could you provide an effective object URI?Thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants