Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

struct GnssFixData

fbs/sensors.fbs / Source schema

Global navigation satellite receiver fix and motion estimate. This is a raw-layer topic: angles keep the receiver’s native convention (clockwise from true north) so logs stay faithful to the hardware; the estimator converts to REP-0103 conventions for estimate-layer topics.

FlatBuffers root table: GnssFix

NameTypeUnit / ScaleNotes
timestamp_usulongmicrosecondsFix timestamp in monotonic boot time.
time_unix_usulongmicrosecondsReceiver-reported Unix time of the fix; valid when GnssFixFlags.TimeValid is set.
latitude_deg_e7intdegrees scaled by 1e7; int32 preserves global-coordinate precisionLatitude in WGS-84 degrees scaled by 1e7.
longitude_deg_e7intdegrees scaled by 1e7; int32 preserves global-coordinate precisionLongitude in WGS-84 degrees scaled by 1e7.
altitude_msl_mmintmillimetersHeight above mean sea level.
altitude_ellipsoid_mmintmillimetersHeight above the WGS-84 ellipsoid.
horizontal_accuracy_mmushortmillimetersOne-sigma horizontal accuracy; producers must saturate at 65535, never truncation-cast (65535 means at or above 65.535 m, unusable).
vertical_accuracy_mmushortmillimetersOne-sigma vertical accuracy; producers must saturate at 65535, never truncation-cast.
velocity_accuracy_mm_sushortmillimeters per secondOne-sigma velocity accuracy; producers must saturate at 65535, never truncation-cast.
yaw_accuracy_cdegushortcentidegrees; degrees = value / 100One-sigma yaw accuracy when receiver yaw is available.
hdop_centiushortcenti-units; value / 100Horizontal dilution of precision scaled by 100.
vdop_centiushortcenti-units; value / 100Vertical dilution of precision scaled by 100.
ground_speed_cm_sushortcentimeters per secondHorizontal ground speed magnitude.
course_over_ground_cdegushortcentidegrees; degrees = value / 100Course over ground, receiver native: zero at true north, positive clockwise; valid when CourseValid is set.
yaw_cdegushortcentidegrees; degrees = value / 100Receiver-reported vehicle yaw, zero at true north, positive clockwise; valid when YawValid is set.
velocity_up_cm_sshortcentimeters per secondVertical velocity, positive up; valid when VelocityUpValid is set.
flagsubytebitmaskBitmask of GnssFixFlags bits.
fix_typesynapse.types.GnssFixTypeReceiver fix quality.
satellites_usedubyteNumber of satellites used in the solution.
satellites_visibleubyteNumber of satellites tracked or visible.
idubyteGNSS receiver instance identifier; also the instance segment of the Zenoh key.