Bagarre / Pi2D2

A Raspberry Pi knock off of the Dynon D2 artificial horizon that leverages the stratux project.
20 stars 6 forks source link

Uses wrong sensor on iPhone #1

Closed RobertGary1 closed 8 years ago

RobertGary1 commented 8 years ago

This worked great on my laptop but when I ran it on the iPhone I noticed the attitude was totally different. It turns out its not using the Stratux device at all. Its using the internal iPhone accelerators. If you move the phone around it changes the attitude. :)

-Robert

Bagarre commented 8 years ago

I thought I took that code out. https://github.com/Bagarre/Pi2D2/blob/master/www/js/test.js#L102-L110

Was just there to exercise the UI before I was talking to Stratux. Thanks for looking.

Bagarre commented 8 years ago

Lines are commented out to avoid confusion.

RobertGary1 commented 8 years ago

Yes, I found the same and made the same change locally. I should have updated the issue.

-Robert

On Dec 1, 2015, at 7:35 AM, David Ross notifications@github.com wrote:

I thought I took that code out. https://github.com/Bagarre/Pi2D2/blob/master/www/js/test.js#L102-L110

Was just there to exercise the UI before I was talking to Stratux. Thanks for looking.

— Reply to this email directly or view it on GitHub.