Thisapplicationdemonstratesthecapabilitiesofvarioussensorsandsensor-fusions.DatafromtheGyroscope,Accelerometerandcompassarecombinedindifferentwaysandtheresultisshownasacubethatcanberotatedbyrotatingthedevice.
Themajornoveltyinthisapplicationisthefusionofvirtualsensors:"ImprovedOrientationSensor1"and"ImprovedOrientationSensor2"fusetheAndroidRotationVectorwiththevirtualGyroscopesensortoachieveaposeestimationwithapreviouslyunknownstabilityandprecision.
Apartfromthesetwosensors,thefollowingsensorsareavailableforcomparison:
-ImprovedOrientationSensor1(SensorfusionofAndroidRotationVectorandCalibratedGyroscope-lessstablebutmoreaccurate)
-ImprovedOrientationSensor2(SensorfusionofAndroidRotationVectorandCalibratedGyroscope-morestablebutlessaccurate)
-AndroidRotationVector(KalmanfilterfusionofAccelerometer+Gyroscope+Compass)
-CalibratedGyroscope(SeparateresultofKalmanfilterfusionofAccelerometer+Gyroscope+Compass)
-Gravity+Compass
-Accelerometer+Compass
-DeprecatedAndroidOrientationSensor(ComplementaryfilterfusionofAccelerometer+Gyroscope+Compass)
ThesourcecodeispubliclyavailableandthelinkcanbefoundintheAbout-section.
Show More