Skip to content
This repository was archived by the owner on Dec 7, 2018. It is now read-only.

[WIP] Expose Device Attitude - #32

Open
saniul wants to merge 9 commits into
Khan:masterfrom
saniul:device-motion
Open

saniul wants to merge 9 commits into
Khan:masterfrom
saniul:device-motion

Conversation

@saniul

@saniul saniul commented Feb 28, 2015

Copy link
Copy Markdown
Contributor

To do:

  • Document DeviceAttitudeObserver and DeviceAttitudeSample API
  • JS Bridge
  • Sample scene

The last 10 samples are exposed (internally stored in a ring buffer).
When initializing the AttitudeObserver you can decide whether you want
the samples to be recorder relative to an anchor attitude or just as absolute
values.
Comment thread Prototope/DeviceMotion.swift Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niiice :)

@andymatuschak

Copy link
Copy Markdown
Contributor

Would love to see tests for your ring logic too when you get a chance. Exciting!

@saniul

saniul commented Mar 16, 2015

Copy link
Copy Markdown
Contributor Author

Would love to see tests for your ring logic too when you get a chance. Exciting!

Done!

@saniul

saniul commented Mar 16, 2015

Copy link
Copy Markdown
Contributor Author

Just need the JS bridge and a test scene now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants