LocationFix
Navigation satellite positioning information for any Global Navigation Satellite System.
Panel Support
LocationFix is used in the Map Panel.
Data Structure
| Field | Type | Description |
|---|---|---|
| timestamp | time | Timestamp of the message |
| frame_id | string | Coordinate system of the sensor. The latitude and longitude readings are at the origin of this coordinate system. |
| latitude | float64 | Latitude (degrees) |
| longitude | float64 | Longitude (degrees) |
| altitude | float64 | Altitude (meters) |
| position_covariance | float64[9] | Position covariance (square meters) relative to the tangent plane defined through the reported position. Components are ordered in row-major order as east, north, up (ENU). |
| position_covariance_type | PositionCovarianceType | If position_covariance is provided, position_covariance_type must be set to indicate the type of covariance. |
Reference Implementation
The visualization data structure is framework-independent and can be implemented using any supported message encoding:
| Encoding | Data Structure |
|---|---|
| ROS 1 | foxglove_msgs/LocationFix |
| ROS 2 | foxglove_msgs/msg/LocationFix |
| JSON | foxglove.LocationFix |
| Protobuf | foxglove.LocationFix |
| FlatBuffers | foxglove.LocationFix |
| OMG IDL | foxglove::LocationFix |
You must use the data structure names specified above for the visualization to recognize the data structure.