What to interpret and how to process the data in general when the values (from gps sensor) for "altitude" field in ROS sensor_msgs/NavSatFix.msg is negative ?
Asked
Active
Viewed 91 times
0
-
1It means you’re below sea level or your sensor is wrong? Much more context is needed to give an answer here – BTables Jul 27 '22 at 14:44
1 Answers
0
Even at sea level, altitude may be negative: GPS uses a mathematic earth model to estimate the height in mean sea level. This model is usually a simplified EGM96 geoid. The local sea level might be some meter higher or lower.
Just be aware that this is not unusual. Depending what your app Should do, you can display any value < 0 as 0.

AlexWien
- 28,470
- 6
- 53
- 83