Options
All
  • Public
  • Public/Protected
  • All
Menu

a gps position

generated

from protobuf message Position

Hierarchy

  • Position

Index

Properties

altGeoidSep

altGeoidSep: number

Geoidal separation in meters

generated

from protobuf field: sint32 alt_geoid_sep = 15;

altitude

altitude: number

In meters above MSL (but see issue #359)

generated

from protobuf field: int32 altitude = 3;

altitudeHae

altitudeHae: number

HAE altitude in meters - can be used instead of MSL altitude

generated

from protobuf field: sint32 altitude_hae = 14;

altitudeSource

altitudeSource: Position_AltSource
generated

from protobuf field: Position.AltSource altitude_source = 11;

batteryLevel

batteryLevel: number

1-100 (0 means not provided)

generated

from protobuf field: int32 battery_level = 4;

fixQuality

fixQuality: number

GPS fix quality (from NMEA GxGGA statement or similar)

generated

from protobuf field: uint32 fix_quality = 22;

fixType

fixType: number

GPS fix type 2D/3D (from NMEA GxGSA statement)

generated

from protobuf field: uint32 fix_type = 23;

gpsAccuracy

gpsAccuracy: number

GPS accuracy (a hardware specific constant) in mm multiplied with DOP to calculate positional accuracy Default: "'bout three meters-ish" :)

generated

from protobuf field: uint32 gps_accuracy = 19;

groundSpeed

groundSpeed: number

Ground speed in m/s and True North TRACK in 1/100 degrees

Clarification of terms:

  • "track" is the direction of motion (measured in horizontal plane)
  • "heading" is where the fuselage points (measured in horizontal plane)
  • "yaw" indicates a relative rotation about the vertical axis
generated

from protobuf field: uint32 ground_speed = 20;

groundTrack

groundTrack: number
generated

from protobuf field: uint32 ground_track = 21;

hDOP

hDOP: number
generated

from protobuf field: uint32 HDOP = 17 [json_name = "HDOP"];

latitudeI

latitudeI: number

The new preferred location encoding, divide by 1e-7 to get degrees in floating point

generated

from protobuf field: sfixed32 latitude_i = 1;

locationSource

locationSource: Position_LocSource
generated

from protobuf field: Position.LocSource location_source = 10;

longitudeI

longitudeI: number
generated

from protobuf field: sfixed32 longitude_i = 2;

pDOP

pDOP: number

Horizontal, Vertical and Position Dilution of Precision, in 1/100 units

  • PDOP is sufficient for most cases
  • for higher precision scenarios, HDOP and VDOP can be used instead, in which case PDOP becomes redundant (PDOP=sqrt(HDOP^2 + VDOP^2))
generated

from protobuf field: uint32 PDOP = 16 [json_name = "PDOP"];

posNextUpdate

posNextUpdate: number

Estimated/expected time (in seconds) until next update:

  • if we update at fixed intervals of X seconds, use X
  • if we update at dynamic intervals (based on relative movement etc), but "AT LEAST every Y seconds", use Y
generated

from protobuf field: uint32 pos_next_update = 40;

posSeqNumber

posSeqNumber: number

A sequence number, incremented with each Position message to help detect lost updates if needed

generated

from protobuf field: uint32 pos_seq_number = 41;

posTimeMillis

posTimeMillis: number

Pos. timestamp milliseconds adjustment (rarely available or required)

generated

from protobuf field: int32 pos_time_millis = 13;

posTimestamp

posTimestamp: number

Positional timestamp (actual timestamp of GPS solution) in integer epoch seconds

generated

from protobuf field: fixed32 pos_timestamp = 12;

satsInView

satsInView: number

GPS "Satellites in View" number

generated

from protobuf field: uint32 sats_in_view = 24;

sensorId

sensorId: number

Sensor ID - in case multiple positioning sensors are being used

generated

from protobuf field: uint32 sensor_id = 25;

time

time: number

This is usually not sent over the mesh (to save space), but it is sent from the phone so that the local device can set its RTC If it is sent over the mesh (because there are devices on the mesh without GPS), it will only be sent by devices which has a hardware GPS clock. seconds since 1970

generated

from protobuf field: fixed32 time = 9;

vDOP

vDOP: number
generated

from protobuf field: uint32 VDOP = 18 [json_name = "VDOP"];

Generated using TypeDoc