Im working with a Pixhawk 3DR. And I need to get the position of the robot. I'm trying to calculate with the linear accelerations and a delta time, but I can't exclude the gravity effect.
Im trying with this:
x_posicion_var = (0.5*alx)*(delta_time*delta_time)
y_posicion_var = (0.5*aly)*(delta_time*delta_time)
z_posicion_var = (0.5*alz)*(delta_time*delta_time)
does some know how to resolve it?
thanks
↧