Isolating sensor orientation w.r.t. gravity and car direction
2 views (last 30 days)
Show older comments
I have a quandary. I am trying to use MATLAB's IMUfilter code to get orientation. You can get rotation matrices or quaternions. The trouble is: the doc DOES not explain orientation well. Orientation is relative: it has to be respect to something else. I found out the reference MATLAB's imufilter uses: a reference frame (RF) which can either be 'NED' (North-East-Down) or 'ENU' (East-North-Up). the default value is 'NED'. I am trying to get the orientation of a sensor x,y,z, readings w.r.t. to gravity and car direction and I have no idea how to use this orientation result. Do I multiply the accelerometer x,y, and z data by the corresponding orientation matrix? or do I multiply it by its inverse (or transpose). There is a lot of documentation on the MATLAB sensor fusion but I cannot find any useful example along these lines.
3 Comments
James Tursa
on 13 Sep 2020
If the sensors are constantly changing orientation, how can you expect to use only one rotation matrix for all of it?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!