ofTheo / ofxKinect

legacy openFrameworks wrapper for the xbox kinect (OF pre-0.8.0+ only) - ofxKinect is now included and is being maintained in OF releases
MIT License
540 stars 105 forks source link

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

Closed arturoc closed 12 years ago

arturoc commented 12 years ago

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 commented 12 years ago

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

arturoc commented 12 years ago

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: https://github.com/ofTheo/ofxKinect/pull/92#issuecomment-4539681

kylemcdonald commented 12 years ago

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 commented 12 years ago

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: https://github.com/ofTheo/ofxKinect/pull/92#issuecomment-4542768

kylemcdonald commented 12 years ago

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: https://github.com/ofTheo/ofxKinect/pull/92#issuecomment-4542768


Reply to this email directly or view it on GitHub: https://github.com/ofTheo/ofxKinect/pull/92#issuecomment-4544019