Xsens sensor.

evol_w10lv

Feb 19, 2013
73
Joined
Feb 19, 2013
Messages
73
I'm doing project using xsens MTi-G.
xsens2.jpg

Data file (gyroscope, accelerometer, magnetometer, Euler angles, GPS data):
mi51t0la08b2vg6yt.png


I can get direction in degrees (heading) from magnetometer, using magnetometer coordinates.
What else I could explore, calculate, compare?
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Altitude, acceleration, rate of rotation, tracking position by dead reckoning...
 

evol_w10lv

Feb 19, 2013
73
Joined
Feb 19, 2013
Messages
73
I'm trying to plot motion in x, y coordinate system in meters. I can integrate twice resulting acceleration vector to get distance in meters. And I have got bearing angles calculated from magnetometer.
I want to understand principle, how to plot this graph.

mq9wo23nhdpjkh26ozd0.png


If X1=0, Y1=0 (initial conditions) I can calculate X2, Y2, using angle and hypotenuse (distance). As we have got right triangles, using X(i-1), Y(i-1), angle and distance is the way, how to plot all motion in plane and calculate coordinates using sin and cos? So.. important thing is to know where (quadrant) is the heading angle to understand whether I have to sum or subtract triangle sides and X(i-1), Y(i-1) to get X(i) and Y(i). It means that I have to use couple 'if' statements to check it. Am I right?
 

evol_w10lv

Feb 19, 2013
73
Joined
Feb 19, 2013
Messages
73
Hmm..
d - distance.
If angle is in I quadrant, I can calculate next coordinates like this:
15outxxunqh2t3608o6m.png


Let's imagine, that angle is in other quadrant, for example, 320 degrees.
q7i0twh0syucbjjxcydi.png


I see, that I can't sum x y to get next coordinates, here I must subtract. I can calculate 'green' X Y using sin and cos like before.Only way is to check every angle to plot graph corectly?
I have got distance and angle values in file and I'm going to write Matlab code to plot that graph.
 
Top