Is it possible to integrate angular rates in order to get a set of euler angles. Shouldn't we consider a coordinate or reference frame conversation using like quaternion or dcm? After that we can use the corresponding results with the calculated ones come from accelerometer and magnetometer.
You must convert the angular rate that usually is projected into body frame in euler angular rate where each angle is in a different reference frame if you use intrinsic euler angle. After that convertion you can integrate the euler angular rate and obtain the euler angle. I hope is enought clear, you can find a lot on the web. :)
when I run the code: orientation(i) = aFilter(a(i,:),w(i,:)); It says that the orientation expected to be 3 (in addition to System object), got 2. Could anyone have some solution?
thank for the lesson. It's really interessting. I'm trying to test it but when i try to log in my MATLAB Mobile , it always come the error " MATLAB Mobile is no longer supported with desktop MATLAB, use MATLAB Online instead." I try it on desktop version, online version and in mobile version too but it comes with the same error. How can i fix this error ? Thank u so much :)
I believe 100 Hz was the maximum rate you can get from MATLAB Mobile. For a real sensor fusion application, you want to sample as quickly as possible to get good results, given the computational resources available.