IMU initial orientation and drift problem
Hi all,
I am using Phidgets Spatial 3/3/3 along with this launch file. I have couple of doubts regarding it:
1. How is the initial orientation decided, is it always the same (default orientation) or is there any way to find the exact initial orientation?
2. When I use the magnetic orientation vector <param name="use_mag" value="true"/>
, I have noticed that there is lot of drift when I rotate the IMU which does not happen when use_mag parameter is false. Can anyone tell me why is this happening or am I misinterpreting something?
Thanks in advance.
Naman Kumar
Comments
- is probably not drift but a different fixed offset for each angle. Meaning: Same angle = same value.Cause are magnetic parts on your robot/environment. Move your sensor away from any magnetic objects and/or try to calibrate the compass.