the initial values are not "inaccurate", they are just not what you think
they should be. Define "lying flat on the table" - are you sure the table is
level? in both dimensions? Etc.
Instead of fighting the sensor you could include a calibration function in
the app that accepts the user's state
Here's what I mean by a baseline value: I'm using
SensorManager.getOrientation() to determine the device's orientation.
I am only concerned with the difference in orientation relative to a
static orientation (which I'm referring to as the baseline value) at
any given time. The baseline value could
1. Yes, there are a lot of issues related to the magnetic sensor but people
still use it for thousands years so the real question is do you need it or
not.
2. I don't know what does it mean "baseline values". Accelerometer always
returns noise values (as well as any other sensor) - this is a nat
3 matches
Mail list logo