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

How to improve the topic(/fix) output precision, retaining 10 decimal places #177

Open
miku54 opened this issue May 6, 2024 · 2 comments

Comments

@miku54
Copy link

miku54 commented May 6, 2024

Hello everyone, please tell me how to improve the topic(/fix) output accuracy to 10 decimal places?. When I run the demo, the altitude read always only has 3 digits after the decimal point. , longitude only has 7 digits of data after the decimal point. How to change to retain 10 decimal places?

OS: [Ubuntu 18.04]
ROS Version [ROS1 Melodic]

@evenator
Copy link
Collaborator

evenator commented May 6, 2024

Nothing in the driver itself reduces the precision of the altitude or longitude (aside from the limits of floating point precision in Python itself), so the precision you're seeing is the same precision output by your navsat device.

@miku54
Copy link
Author

miku54 commented May 6, 2024

Nothing in the driver itself reduces the precision of the altitude or longitude (aside from the limits of floating point precision in Python itself), so the precision you're seeing is the same precision output by your navsat device.

Now I get it,thank you for your answers.

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

2 participants