Hi Katja
amazing! This is exactly what I was looking for.
I thought that Android for sure will make this kind of data available as
some sort of meta-sensor API, but apparently not.
Thank you so much
Max
On 2017년 07월 27일 09:17, katja wrote:
Hi Max,
To emulate 3D orientation from gyro,
Hi Max,
To emulate 3D orientation from gyro, accelerometer and compass data is
most efficiently done using a 'quaternion filter'. Sebastian Madgwick
has popularized the method, see
http://x-io.co.uk/open-source-imu-and-ahrs-algorithms/. I use
Madgwicks implementation of Mahoney's method, for
Made a quick little video
https://vimeo.com/226958567
the described issue is still there.
Background on the problem:
https://stackoverflow.com/questions/27106607/get-rotation-and-display-in-degrees
I've played around with the Android app Sensors2OSC [1] and was trying
to just map the senors to a virtual model of a phone.
I was able to get the axis individually mostly behaving correctly, but
as soon as the phone moves around in more than one way, it is doing
weird things. I started to