nobleo / rviz_satellite

Display internet satellite imagery in RViz
Apache License 2.0
545 stars 231 forks source link

Adding SLAM maps is inconsistent with Google Maps #116

Open zyqww opened 1 year ago

zyqww commented 1 year ago

image

zyqww commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 3 months ago

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