Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added getAbsoluteTilt/Roll to get camera inclination from accelerometers #92

Merged
merged 2 commits into from May 23, 2012

Conversation

arturoc
Copy link
Collaborator

@arturoc arturoc commented Mar 16, 2012

useful to correct the 3d scene based on the camera inclination.

not very sure about the naming, was going to call it just getRoll/getTilt but it can be confusing with the getCameraTilt to get the inclination of the servos.

perhaps getAccelRoll/Tilt?

@ofTheo
Copy link
Owner

ofTheo commented Mar 16, 2012

do you find that this is pretty accurate?
I think getAccel roll / tilt might be a little more descriptive.

@arturoc
Copy link
Collaborator Author

arturoc commented Mar 16, 2012

yes, it seems to be pretty accurate, i actually need it for an
installation so i expect it'll work :)

https://vimeo.com/38635362

El 16/03/12 14:36, Theodore Watson escribió:

do you find that this is pretty accurate?
I think getAccel roll / tilt might be a little more descriptive.


Reply to this email directly or view it on GitHub:
#92 (comment)

@kylemcdonald
Copy link
Collaborator

that's awesome! i would say don't use the word 'tilt', because it's ambiguous. use the usual 'roll, pitch & yaw' nomenclature.

i think also maybe more helpful than having those two values would be to construct a 3x3 or 4x4 rotation matrix that can be used to transform points.

@arturoc
Copy link
Collaborator Author

arturoc commented Mar 16, 2012

yes i guess pitch/roll makes more sense and avoids ambiguities with the
servos tilt.

so getPitch/getRoll?

El 16/03/12 17:17, Kyle McDonald escribió:

that's awesome! i would say don't use the word 'tilt', because it's ambiguous. use the usual 'roll, pitch& yaw' nomenclature.

i think also maybe more helpful than having those two values would be to construct a 3x3 or 4x4 rotation matrix that can be used to transform points.


Reply to this email directly or view it on GitHub:
#92 (comment)

@kylemcdonald
Copy link
Collaborator

sounds great.

On Friday, March 16, 2012 at 1:18 PM, arturo wrote:

yes i guess pitch/roll makes more sense and avoids ambiguities with the
servos tilt.

so getPitch/getRoll?

El 16/03/12 17:17, Kyle McDonald escribió:

that's awesome! i would say don't use the word 'tilt', because it's ambiguous. use the usual 'roll, pitch& yaw' nomenclature.

i think also maybe more helpful than having those two values would be to construct a 3x3 or 4x4 rotation matrix that can be used to transform points.


Reply to this email directly or view it on GitHub:
#92 (comment)


Reply to this email directly or view it on GitHub:
#92 (comment)

danomatika added a commit that referenced this pull request May 23, 2012
added getAbsoluteTilt/Roll to get camera inclination from accelerometers
@danomatika danomatika merged commit 81a961c into master May 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants