This is not so much a question but an observation with a request for corroboration and input.
I am in the deep throes of developing an app that needs to as accurately as possible measure the orientation of the cameras line of sight.
Part of the exercise has been to develop a magnetometer calibrator which works by comparing the measured magnetic field (total intensity and inclination) with the expected as given by the NOAA model:
https://www.ngdc.noaa.gov/geomag/WMM/DoDWMM.shtml
When I run the app proper with the camera preview running I get slightly different measured magnetic field results to when I run the magnetometer calibrator with no camera.
The difference manifests mainly as a variation of about 1.5 degrees in the measured magnetic fields inclination - which is enough to be of concern to the app.
If I turn the camera off in the app proper - problem goes away.
If I set the camera preview panels visibility to false (but camera still on) in app proper - problem goes away.
If I add a camera preview capability to magnetometer calibrator - results match.
I have the phone in a rigid test rig - this is not a "trembling hand" issue.
Results are consistent and repeatable.
I am using a Samsung S5.
It seems to be not so much the camera as the displaying of the preview - could this induce a local magnetic field?
I've googled my eyeballs out to no avail.
-------------------------------------
So:
o Has anyone ever noticed a similar issue.
o Has anyone got any ideas as to why it is happening.
I'm interested in all responses...
I am in the deep throes of developing an app that needs to as accurately as possible measure the orientation of the cameras line of sight.
Part of the exercise has been to develop a magnetometer calibrator which works by comparing the measured magnetic field (total intensity and inclination) with the expected as given by the NOAA model:
https://www.ngdc.noaa.gov/geomag/WMM/DoDWMM.shtml
When I run the app proper with the camera preview running I get slightly different measured magnetic field results to when I run the magnetometer calibrator with no camera.
The difference manifests mainly as a variation of about 1.5 degrees in the measured magnetic fields inclination - which is enough to be of concern to the app.
If I turn the camera off in the app proper - problem goes away.
If I set the camera preview panels visibility to false (but camera still on) in app proper - problem goes away.
If I add a camera preview capability to magnetometer calibrator - results match.
I have the phone in a rigid test rig - this is not a "trembling hand" issue.
Results are consistent and repeatable.
I am using a Samsung S5.
It seems to be not so much the camera as the displaying of the preview - could this induce a local magnetic field?
I've googled my eyeballs out to no avail.
-------------------------------------
So:
o Has anyone ever noticed a similar issue.
o Has anyone got any ideas as to why it is happening.
I'm interested in all responses...