Skip to main content

LocationFix

A navigation satellite fix for any Global Navigation Satellite System

Panel support​

LocationFix is used in the 3D and Map panels.

Parent schema​

LocationFix appears in the LocationFixes message schema.

Schema​

fieldtypedescription
timestampTimestampTimestamp of the message
frame_idstringFrame for the sensor. Latitude and longitude readings are at the origin of the frame.
latitudefloat64Latitude in degrees
longitudefloat64Longitude in degrees
altitudefloat64Altitude in meters
position_covariancefloat64[9]Position covariance (m^2) defined relative to a tangential plane through the reported position. The components are East, North, and Up (ENU), in row-major order.
position_covariance_typePositionCovarianceTypeIf position_covariance is available, position_covariance_type must be set to indicate the type of covariance.
heading (optional)float64Heading (yaw angle), in radians, measured clockwise from north
velocity (optional)Vector3Velocity in local East-North-Up (ENU) frame in m/s
color (optional)ColorColor used to visualize the location
metadata (optional)KeyValuePair[]Additional user-provided metadata associated with the location fix. Keys must be unique.

Reference implementations​

Foxglove messages are framework-agnostic, and can be implemented using any supported message encoding:

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

You must use the schema names specified above for Foxglove to recognize the schema.