This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

built-in phone's 3D orientation experiment
#3
(09-15-2023, 10:29 AM)Jens Noritzsch Wrote: The attitude sensor has been left out for a reason as explained on https://phyphox.org/wiki/index.php/Attitude_sensor and we would definitely need to recheck the validity of its results on a substantial number of devices. Problems like gimbal lock will always persist and the user base for quaternions is quite narrow, isn’t it?

Game rotation vector looks like a worse variant of attitude: for what purpose would this be necessary? AFAICS, there is no equivalent on iOS, so it would be pretty down the list then anyway…

Ad p.s.: check https://phyphox.org/forums/showthread.ph...45#pid3545 for an inclination experiment utilising the gravity vector.

Thanks Jens!
1) I got your point and your "policy". I know that type_rotation_vector is proprietary and it would differ from smartphone to smartphone, but I would just take it "as is". 
2) I understand the limits of Euler angles, but for teaching purposes they are fine though. 
3) I love your inclination experiment using the gravity vector so it can be used in case of an accelerating smartphone, but type_gravity is computed using the proprietary sensor fusion algorithm so we're back to the 1st point. Well, according to android type_gravity should be computed by subtracting type_linear_acceleration to type_accelerometer and, since type_linear_acceleration" is computed using the orientation of the phone with acc and gyro only (see Sensor types  |  Android Open Source Project ) then I suppose that type_gravity is computed using type_game_rotation_vector (and, infact, ythe inclination of your experiment is not disturbed by ferromagnetic pbjects).

Thanks for the support Jens! Now, lots of things are more clear to me.
Best,
Pietro
Reply


Messages In This Thread
RE: built-in phone's 3D orientation experiment - by pietropicerno - 09-19-2023, 01:57 AM

Forum Jump: