nmea_navsat_driver icon indicating copy to clipboard operation
nmea_navsat_driver copied to clipboard

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

Open miku54 opened this issue 9 months ago • 2 comments

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]

miku54 avatar May 06 '24 09:05 miku54

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.

evenator avatar May 06 '24 10:05 evenator

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.

miku54 avatar May 06 '24 11:05 miku54