diff options
author | Helmut Schmidt <Helmut.3.Schmidt@continental-corporation.com> | 2016-11-28 09:31:56 +0100 |
---|---|---|
committer | Helmut Schmidt <Helmut.3.Schmidt@continental-corporation.com> | 2016-11-28 09:31:56 +0100 |
commit | aa969b251e4c3f8e57cf8beb57a556640c622651 (patch) | |
tree | 4210fae6e2c9d58b42eaf7a732c7552db5c23118 /sensors-service/api | |
parent | a6eb06875a469b18cfb70e307d819352fc536040 (diff) | |
download | positioning-aa969b251e4c3f8e57cf8beb57a556640c622651.tar.gz |
GT-3402: Change unit of measurementInterval to micro-seconds
Diffstat (limited to 'sensors-service/api')
-rw-r--r-- | sensors-service/api/acceleration.h | 7 | ||||
-rw-r--r-- | sensors-service/api/gyroscope.h | 7 | ||||
-rw-r--r-- | sensors-service/api/vehicle-speed.h | 7 | ||||
-rw-r--r-- | sensors-service/api/wheel.h | 7 |
4 files changed, 16 insertions, 12 deletions
diff --git a/sensors-service/api/acceleration.h b/sensors-service/api/acceleration.h index dd3fd81..b6aa542 100644 --- a/sensors-service/api/acceleration.h +++ b/sensors-service/api/acceleration.h @@ -221,15 +221,16 @@ typedef struct { * Degrees celsius are preferred but any value linearly dependent on the temperature is fine. */ float temperature; - /** Measurement interval over which the accelerometer signal has been acquired [ms]. - * This may slightly differ from the timestamp difference, + /** Measurement interval over which the accelerometer signal has been acquired. + * Unit: micro-seconds [us]. + * This may slightly differ from the timestamp difference, * e.g. in case of transmission jitter before timestamping. * Providing the measurement interval allows thus * - a more accurate integration of accelerometer measurements. * - correct usage of the first sample * - adding consistency checks */ - uint16_t measurementInterval; + uint32_t measurementInterval; /** Bit mask indicating the validity of each corresponding value. * [bitwise or'ed @ref EAccelerationValidityBits values]. * Must be checked before usage. diff --git a/sensors-service/api/gyroscope.h b/sensors-service/api/gyroscope.h index ba641ae..bc964de 100644 --- a/sensors-service/api/gyroscope.h +++ b/sensors-service/api/gyroscope.h @@ -222,15 +222,16 @@ typedef struct { * Degrees celsius are preferred but any value linearly dependent on the temperature is fine. */ float temperature; - /** Measurement interval over which the gyroscope signal has been acquired [ms]. - * This may slightly differ from the timestamp difference, + /** Measurement interval over which the gyroscope signal has been acquired. + * Unit: micro-seconds [us]. + * This may slightly differ from the timestamp difference, * e.g. in case of transmission jitter before timestamping. * Providing the measurement interval allows thus * - a more accurate integration of gyroscope measurements. * - correct usage of the first sample * - adding consistency checks */ - uint16_t measurementInterval; + uint32_t measurementInterval; /** Bit mask indicating the validity of each corresponding value. * [bitwise or'ed @ref EGyroscopeValidityBits values]. * Must be checked before usage. diff --git a/sensors-service/api/vehicle-speed.h b/sensors-service/api/vehicle-speed.h index d816ecf..6893fbd 100644 --- a/sensors-service/api/vehicle-speed.h +++ b/sensors-service/api/vehicle-speed.h @@ -52,15 +52,16 @@ typedef struct { * Direction is given by the sign of this value. */ float vehicleSpeed; - /** Measurement interval over which the vehicle speed signal has been acquired [ms]. - * This may slightly differ from the timestamp difference, + /** Measurement interval over which the vehicle speed signal has been acquired. + * Unit: micro-seconds [us]. + * This may slightly differ from the timestamp difference, * e.g. in case of transmission jitter before timestamping. * Providing the measurement interval allows thus * - a more accurate integration of vehicle speed measurements. * - correct usage of the first sample * - adding consistency checks */ - uint16_t measurementInterval; + uint32_t measurementInterval; /** Bit mask indicating the validity of each corresponding value. * [bitwise or'ed @ref EVehicleSpeedValidityBits values]. * Must be checked before usage. diff --git a/sensors-service/api/wheel.h b/sensors-service/api/wheel.h index da3e931..37f61f7 100644 --- a/sensors-service/api/wheel.h +++ b/sensors-service/api/wheel.h @@ -331,15 +331,16 @@ typedef struct { * [bitwise or'ed @ref EWheelStatusBits values]. */ uint32_t statusBits; - /** Measurement interval over which the wheel data have been acquired [ms]. - * This may slightly differ from the timestamp difference, + /** Measurement interval over which the wheel data have been acquired. + * Unit: micro-seconds [us]. + * This may slightly differ from the timestamp difference, * e.g. in case of transmission jitter before timestamping. * Providing the measurement interval allows thus * - a more accurate integration of wheel data measurements. * - correct usage of the first sample * - adding consistency checks */ - uint16_t measurementInterval; + uint32_t measurementInterval; /** Bit mask indicating the validity of each corresponding value. * [bitwise or'ed @ref EWheelValidityBits values]. * Must be checked before usage. |