From eb27e744f78a0bce1d2be1774d9acffaf63082a7 Mon Sep 17 00:00:00 2001 From: a-f-G-U-C <65810997+a-f-G-U-C@users.noreply.github.com> Date: Sun, 5 Sep 2021 15:10:06 +0000 Subject: [PATCH] add positional timestamp and geoidal separation Relevant to issues #842 and #843 (timestamp) and historical issues #392 and #359 (timestamp, geoidal) --- src/gps/GPS.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gps/GPS.h b/src/gps/GPS.h index 63d594863..b337703b3 100644 --- a/src/gps/GPS.h +++ b/src/gps/GPS.h @@ -45,6 +45,9 @@ class GPS : private concurrency::OSThread // scaling before use) uint32_t heading = 0; // Heading of motion, in degrees * 10^-5 + int32_t geoidal_height = 0; // geoidal separation, in meters! + time_t pos_timestamp = 0; // positional timestamp from GPS solution + GPS() : concurrency::OSThread("GPS") {} virtual ~GPS();