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))
TODO: REMOVE/INTEGRATE
Generated
from field: uint32 PDOP = 11;
VDOP
VDOP:number
TODO: REPLACE
Generated
from field: uint32 VDOP = 13;
Optionalaltitude
altitude?:number
In meters above MSL (but see issue #359)
Generated
from field: optional int32 altitude = 3;
OptionalaltitudeGeoidalSeparation
altitudeGeoidalSeparation?:number
Geoidal separation in meters
Generated
from field: optional sint32 altitude_geoidal_separation = 10;
OptionalaltitudeHae
altitudeHae?:number
HAE altitude in meters - can be used instead of MSL altitude
from field: meshtastic.Position.LocSource location_source = 5;
OptionallongitudeI
longitudeI?:number
TODO: REPLACE
Generated
from field: optional sfixed32 longitude_i = 2;
nextUpdate
nextUpdate: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 field: uint32 next_update = 21;
precisionBits
precisionBits:number
Indicates the bits of precision set by the sending node
Generated
from field: uint32 precision_bits = 23;
satsInView
satsInView:number
GPS "Satellites in View" number
Generated
from field: uint32 sats_in_view = 19;
sensorId
sensorId:number
Sensor ID - in case multiple positioning sensors are being used
Generated
from field: uint32 sensor_id = 20;
seqNumber
seqNumber:number
A sequence number, incremented with each Position message to help
detect lost updates if needed
Generated
from field: uint32 seq_number = 22;
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 time if it is sent over
the mesh (because there are devices on the mesh without GPS or RTC).
seconds since 1970
Generated
from field: fixed32 time = 4;
timestamp
timestamp:number
Positional timestamp (actual timestamp of GPS solution) in integer epoch seconds
Generated
from field: fixed32 timestamp = 7;
timestampMillisAdjust
timestampMillisAdjust:number
Pos. timestamp milliseconds adjustment (rarely available or required)
Retrieve the MessageType of this message - a singleton that represents
the protobuf message declaration and provides metadata for reflection-
based operations.
Override for serialization behavior. This will be invoked when calling
JSON.stringify on this message (i.e. JSON.stringify(msg)).
Note that this will not serialize google.protobuf.Any with a packed
message because the protobuf JSON format specifies that it needs to be
unpacked, and this is only possible with a type registry to look up the
message type. As a result, attempting to serialize a message with this
type will throw an Error.
This method is protected because you should not need to invoke it
directly -- instead use JSON.stringify or toJsonString for
stringified JSON. Alternatively, if actual JSON is desired, you should
use toJson.
Returns JsonValue
toJson
toJson(options?): JsonValue
Serialize the message to a JSON value, a JavaScript value that can be
passed to JSON.stringify().
a gps position
Generated
from message meshtastic.Position