Skip to main content

LocationFix

Navigation satellite positioning information for any Global Navigation Satellite System.

Panel Support​

LocationFix is used in the Map Panel.

Data Structure​

FieldTypeDescription
timestamptimeTimestamp of the message
frame_idstringCoordinate system of the sensor. The latitude and longitude readings are at the origin of this coordinate system.
latitudefloat64Latitude (degrees)
longitudefloat64Longitude (degrees)
altitudefloat64Altitude (meters)
position_covariancefloat64[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_typePositionCovarianceTypeIf 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:

EncodingData Structure
ROS 1foxglove_msgs/LocationFix
ROS 2foxglove_msgs/msg/LocationFix
JSONfoxglove.LocationFix
Protobuffoxglove.LocationFix
FlatBuffersfoxglove.LocationFix
OMG IDLfoxglove::LocationFix

You must use the data structure names specified above for the visualization to recognize the data structure.