PX4 Firmware
PX4 Autopilot Software http://px4.io
H_VELZ.c
Go to the documentation of this file.
1 H_VEL[0] = q0*vd*2.0f-q1*ve*2.0f+q2*vn*2.0f;
2 H_VEL[1] = q1*vd*-2.0f-q0*ve*2.0f+q3*vn*2.0f;
3 H_VEL[2] = q2*vd*-2.0f+q3*ve*2.0f+q0*vn*2.0f;
4 H_VEL[3] = q3*vd*2.0f+q2*ve*2.0f+q1*vn*2.0f;
5 H_VEL[4] = q0*q2*2.0f+q1*q3*2.0f;
6 H_VEL[5] = q0*q1*-2.0f+q2*q3*2.0f;
7 H_VEL[6] = q0*q0-q1*q1-q2*q2+q3*q3;
H_VEL[0]
Definition: H_VELZ.c:1