QAccelerometer reports wrong timestamp information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtubuntu-sensors |
New
|
Undecided
|
Unassigned |
Bug Description
The timestamp used in QtSensors is different than what is being reported.
Using a simple show_accelerometer example command:
phablet@
(main:134) - choosing "core.accelerom
Acceleration: -1.6 x 6.3 y 7.5 z m/s^21414974054
Acceleration: -1.6 x 6.3 y 7.5 z m/s^21414974054
Acceleration: -1.6 x 6.3 y 7.5 z m/s^21414974054
Acceleration: -1.5 x 6.4 y 7.4 z m/s^21414974054
Acceleration: -1.6 x 6.4 y 7.4 z m/s^21414974054
It should be more like this:
Acceleration: 0.2 x 0.4 y 9.8 z m/s^2195476924274 ( 21 ms since last, 47.1 Hz)
Acceleration: 0.3 x 0.4 y 9.8 z m/s^2195476946157 ( 21 ms since last, 45.7 Hz)
Acceleration: 0.2 x 0.4 y 9.8 z m/s^2195476966758 ( 20 ms since last, 48.5 Hz)
Acceleration: 0.3 x 0.3 y 9.8 z m/s^2195476989252 ( 22 ms since last, 44.5 Hz)
description: | updated |