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

PCD with global coordinates? #524

Open
antoniomontana1992 opened this issue Dec 12, 2024 · 5 comments
Open

PCD with global coordinates? #524

antoniomontana1992 opened this issue Dec 12, 2024 · 5 comments

Comments

@antoniomontana1992
Copy link

Is it possible to create .pcd files with global coordinates?

@stah-ba
Copy link

stah-ba commented Jan 30, 2025

@antoniomontana1992 did you solve the issue? Or how did you continue?

@lukasj-imar
Copy link

There is a field in the pcl object, which is called sensor_origin. You can use this field to define your offset in a geodetic reference frame.

@antoniomontana1992
Copy link
Author

I dont know if this is the right way, but what i did is to keep the first fixed reading from my RTK sensor, and then start liosam. While the map is finished, i make the conversion with pdal based on the first reading of my location.

@stah-ba
Copy link

stah-ba commented Jan 31, 2025

Alright, thanks for the quick answers! @lukasj-imar so you also use only the first GPS measurement as a offset as sensor origin for the mapped cloud?

@lukasj-imar
Copy link

Yes, i take a geocentric coordinate from GPS as sensor origin. Each point of the cloud is represented in an ENU frame which has his origin in this sensor origin.

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