RobustFieldAutonomyLab / LeGO-LOAM

LeGO-LOAM: Lightweight and Ground-Optimized Lidar Odometry and Mapping on Variable Terrain
BSD 3-Clause "New" or "Revised" License
2.36k stars 1.11k forks source link

project the point cloud map to google earth #115

Closed weisongwen closed 4 years ago

weisongwen commented 5 years ago

Hi @TixiaoShan , Thanks for sharing your work. How do you project the poitn cloud map into the google earth which can be seen in your published paper?

image

many thanks, Welson,

mbudris commented 5 years ago

https://github.com/gareth-cross/rviz_satellite can try this one

Ashik19 commented 5 years ago

Hi @weisongwen ,

Can you share which platform you used to georeference the point cloud so that it overlaps with the real world place ?

Thanks

weisongwen commented 5 years ago

@mbudris Many Thanks, @Ashik19 I expect to use google earth.

Ashik19 commented 5 years ago

Hi @weisongwen ,

Can you share your work on georeferencing point cloud ? I am stuck with how I can transfer the LiDAR local coordinates into my gps coordinates(WGS-1984) so that it overlaps with the real world place.

Thanks

weisongwen commented 5 years ago

@Ashik19 you can refer to my code in here.

simon-rob commented 5 years ago

@weisongwen,

I am also stuck on transforming local coords to gps coords. I tried to follow the link you posted but it is not valid.

Many thanks,

Simon

weisongwen commented 5 years ago

@simon-rob , please try this. I suggest you firstly transfer the odometry from LiDAR odometry into the ENU coordiate. Then try to transfer from ENU to ECEF or Geo-coordiate. Hope this helps, Best, Welson,

Dinatorehanova commented 5 years ago

Hi @welson

Can you please help me with the following queries how I can change from NED to ECEF? My imu data quaternions and position is in the NED frame how I can transfer into the ECEF frame ? I am also trying to geo reference my point cloud so that it overlaps with the real world place. I am stuck with it. It would be very helpful if could kindly refer any site or paper or a tutorial.also how can I sync the timestamp of the lidar,imu and the gps. My god updated in every 200ms, imu in every 10ms while the lidar is in nanoseconds. How to sync the timestamp among these three?

Any help would be very appreciated

Thanks

Dina

weisongwen commented 5 years ago

Hi @Dinatorehanova ,

Hope these can help,

Best, Weisong,

ethan20120 commented 4 years ago

@weisongwen ,

Thanks for the work. Is this code only for velodyne ? Can I use it for other LiDAR(e.g. Ouster)?

I have my odometry data in ENU frame.we already have bag file containing gps,imu,point cloud data.It seems your code performs the level arm offset, boresight matrix, rotation matrix by itself. How to feed the data into your code? Can you provide a demonstration?

Is this for only real time?

Thanks Ethan

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

TixiaoShan commented 4 years ago

Closed due to inactivity. Feel free to reopen if you have more questions.

weisongwen commented 4 years ago

@ethan20120 Sorry for my late reply. The function in my code is to transform the position from ENU to ECEF. if I am correct, what you want to do is to: transfer the IMU data (in NED) to the ECEF frame? Therefore, what you need to do is to rotate the IMU data using a rotation matrix which can be calculated based on your position (longitude, latitude, and altitude). The calculation of the matrix can be found in here. please refer to the function (11). If you still have questions, you can send me your data, I can test it if I have time.:-)

Best, Weisong,

ethan20120 commented 4 years ago

@weisongwen , Can you please use your function on this file to transform from the ENU to the ECEF frame? I am using a matlab function called enutogeodetic but the output file's point is not aligning with my GPS data.

The 6th, 7th, and the 8th column contains the east north up coordinate for the herewith attached file

Please find the herewith attached files for your kind review and consideration

https://drive.google.com/file/d/1PcahTNLhL3Z9XgOBhJcZaS4avdaKwqGQ/view?usp=sharing

I will wait for your kind reply.

Thanks Ethan

weisongwen commented 4 years ago

@ethan20120 To transform the data from ENU to ECEF, we need a reference point (longitude, latitude, and altitude). See https://en.wikipedia.org/wiki/Local_tangent_plane_coordinates.

Best, Weisong,

ethan20120 commented 4 years ago

@weisongwen , Sorry I forgot about it

40.25, -111.67, 1556.59

Its the reference point.

Can you please try

hunkyu commented 4 years ago

@weisongwen Have you succeeded in overlaying point clouds with google earth?

congphase commented 3 years ago

@weisongwen, @hunkyu Hooo, re-discussing after over a year.

I'm dealing with this to.

Did you successfully overlay the georeferenced point cloud to the satellite imagery of google earth, or any other map services?