diff options
author | Helmut Schmidt <Helmut.3.Schmidt@continental-corporation.com> | 2015-11-02 15:20:08 +0100 |
---|---|---|
committer | Helmut Schmidt <Helmut.3.Schmidt@continental-corporation.com> | 2015-11-02 15:20:08 +0100 |
commit | 167346dceaf7e212eb682c4f7f6e8e62682b0856 (patch) | |
tree | d5f1e0154201723988451ec9d4a7cd26de39eeb0 | |
parent | 2ea295ecb31287da3e7db561a33d48319d22aafc (diff) | |
download | positioning-167346dceaf7e212eb682c4f7f6e8e62682b0856.tar.gz |
GNSS API: Update log format description, polish API documentation, +1 digit for lat/lon in log
-rw-r--r-- | gnss-service/api/gnss.h | 10 | ||||
-rwxr-xr-x | log-replayer/doc/LogReplayerDataFormat.v2.00.doc | bin | 252416 -> 252928 bytes | |||
-rw-r--r-- | logger/test/gnsslog.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/gnss-service/api/gnss.h b/gnss-service/api/gnss.h index 711782d..1e5af0a 100644 --- a/gnss-service/api/gnss.h +++ b/gnss-service/api/gnss.h @@ -241,10 +241,10 @@ typedef struct { uint64_t timestamp; /**< Timestamp of the acquisition of the GNSS data [ms]. All sensor/GNSS timestamps must be based on the same time source. */ //position - double latitude; /**< Latitude in WGS84 in degrees. */ - double longitude; /**< Longitude in WGS84 in degrees. */ - float altitudeMSL; /**< Altitude above mean sea level (geoid) */ - float altitudeEll; /**< Altitude above WGS84 ellipsoid */ + double latitude; /**< Latitude in WGS84 in [degree]. */ + double longitude; /**< Longitude in WGS84 in [degree]. */ + float altitudeMSL; /**< Altitude above mean sea level (geoid) in [m]. */ + float altitudeEll; /**< Altitude above WGS84 ellipsoid in [m]. */ //velocity float hSpeed; /**< Horizontal speed [m/s]. */ float vSpeed; /**< Vertical speed [m/s]. */ @@ -255,7 +255,7 @@ typedef struct { float vdop; /**< The vertical (altitude) dilution of precision. */ uint16_t usedSatellites; /**< Number of satellites used for the GNSS fix. */ uint16_t trackedSatellites; /**< Number of satellites from which a signal is received. */ - uint16_t visibleSatellites; /**< Number of satellites expected to be receiveable, i.e. above horizon or elevation mask. */ + uint16_t visibleSatellites; /**< Number of satellites expected to be receivable, i.e. above horizon or elevation mask. */ //quality parameters: error estimates float sigmaHPosition; /**< Standard error estimate of the horizontal position in [m]. */ float sigmaAltitude; /**< Standard error estimate of altitude in [m]. */ diff --git a/log-replayer/doc/LogReplayerDataFormat.v2.00.doc b/log-replayer/doc/LogReplayerDataFormat.v2.00.doc Binary files differindex c9282d3..39dc66d 100755 --- a/log-replayer/doc/LogReplayerDataFormat.v2.00.doc +++ b/log-replayer/doc/LogReplayerDataFormat.v2.00.doc diff --git a/logger/test/gnsslog.cpp b/logger/test/gnsslog.cpp index e656507..be88f17 100644 --- a/logger/test/gnsslog.cpp +++ b/logger/test/gnsslog.cpp @@ -55,7 +55,7 @@ void gnssPositionToString(uint64_t timestamp, uint16_t countdown, const TGNSSPos snprintf( str, size-1, //ensure that there is space for null-terminator - "%"PRIu64",%"PRIu16",$GVGNSPOS,%"PRIu64",%9.6f,%9.6f,%6.1f,%6.1f,%4.1f,%4.1f,%6.2f,%3.1f,%3.1f,%3.1f,%02"PRIu16",%02"PRIu16",%02"PRIu16",%4.1f,%4.1f,%4.1f,%4.1f,%4.1f,%u,0X%08X,0X%08X,0X%08X,0X%08X", + "%"PRIu64",%"PRIu16",$GVGNSPOS,%"PRIu64",%10.7f,%10.7f,%6.1f,%6.1f,%4.1f,%4.1f,%6.2f,%3.1f,%3.1f,%3.1f,%02"PRIu16",%02"PRIu16",%02"PRIu16",%4.1f,%4.1f,%4.1f,%4.1f,%4.1f,%u,0X%08X,0X%08X,0X%08X,0X%08X", timestamp, countdown, position->timestamp, |