android - Gyroscope gives different values on different devices -
i have strange gyroscope behavior:
i have values[0]
gyroscope sensor: angular speed around x-axis. on samsung galaxy nexus value -10 10. in samsung galaxy tab(old) - -100 100.
so, why? can't understand. write application use gyroscope. on galaxy nexus ok, on galaxy tab because of greater values have problems.
any sensor returned android's sensormanager provide range of values provided sensor. calculations should based on that, not hard-coded value.
Comments
Post a Comment