Hi Nathan, I had posted this earlier in the thread --

https://github.com/ratana/rotation-vector-compass

This is my project where I attempt to get the canonical bearing with
respect to where the user is pointing, which many of the above can get
wrong.  It has a few implementations of filters / smoothers and sensors
(mag + accel, rotation vector), device orientations (portrait, landscape)
etc..  the apps I develop have a need for this to be correct, so I've
worked hard on this problem, and of course the project could use some more
love and introspection.

Feel free to PM me off list as well, if this helps or if you have any
questions about it.

Adam


On Wed, Jul 23, 2014 at 2:40 PM, Nathan <[email protected]> wrote:

> I have found these examples of using the rotation sensor. Are they correct?
>
>
> https://github.com/kplatfoot/android-rotation-sensor-sample/blob/master/src/com/kviation/android/sample/orientation/Orientation.java
>
> https://android.googlesource.com/platform/development/+/master/samples/ApiDemos/src/com/example/android/apis/os/RotationVectorDemo.java
>
> http://stackoverflow.com/questions/14740808/android-problems-calculating-the-orientation-of-the-device
>
>
> Nathan
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Android Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/android-developers/yJHng6shP_w/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Adam Ratana
[email protected]

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to