i have made the spi interface and now i am reading data from the gyros and the accelerometers. is there something that can help me use these values to get the estimate of position ?or velocity?
We do not have code examples for this computation at this time but there are quite a few on the web, especially in the remote-controlled vehicle forums. Here are a couple of references that may be useful as well:
Hope that helps.
lets assume that the measure from accelerometers are x,y,z. in order to calculate the angle of the device between the new x axis and the old x axis i use the eqution:
x_angle = arctan(x/sqrt(y^2+z^2))
is this correct?is this angle i calculate the roll angle?
Retrieving data ...