set node position precision from position packet
This commit is contained in:
parent
ad37ca2c47
commit
e57f1a2b67
1 changed files with 1 additions and 0 deletions
|
|
@ -826,6 +826,7 @@ client.on("message", async (topic, message) => {
|
||||||
latitude: position.latitudeI,
|
latitude: position.latitudeI,
|
||||||
longitude: position.longitudeI,
|
longitude: position.longitudeI,
|
||||||
altitude: position.altitude !== 0 ? position.altitude : null,
|
altitude: position.altitude !== 0 ? position.altitude : null,
|
||||||
|
position_precision: position.precisionBits,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue