PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Go to the source code of this file.
Variables | |
float | t2 = 1.0f/range |
float | t3 = Tbs.a.y*q0*2.0f |
float | t4 = Tbs.a.x*q3*2.0f |
float | t18 = Tbs.a.z*q1*2.0f |
float | t5 = t3+t4-t18 |
float | t6 = Tbs.a.y*q1*2.0f |
float | t7 = Tbs.a.z*q0*2.0f |
float | t16 = Tbs.a.x*q2*2.0f |
float | t8 = t6+t7-t16 |
float | t9 = Tbs.a.x*q0*2.0f |
float | t10 = Tbs.a.z*q2*2.0f |
float | t17 = Tbs.a.y*q3*2.0f |
float | t11 = t9+t10-t17 |
float | t12 = Tbs.a.x*q1*2.0f |
float | t13 = Tbs.a.y*q2*2.0f |
float | t14 = Tbs.a.z*q3*2.0f |
float | t15 = t12+t13+t14 |
float | t19 = q0*q0 |
float | t20 = q1*q1 |
float | t21 = q2*q2 |
float | t22 = q3*q3 |
float | t23 = q0*q3*2.0f |
float | t24 = q0*q2*2.0f |
float | t25 = q1*q3*2.0f |
float | t26 = q0*q1*2.0f |
float | t27 = t19+t20-t21-t22 |
float | t28 = Tbs.a.x*t27 |
float | t29 = q1*q2*2.0f |
float | t30 = t24+t25 |
float | t31 = Tbs.a.z*t30 |
float | t32 = t19-t20+t21-t22 |
float | t33 = Tbs.a.y*t32 |
float | t34 = t23+t29 |
float | t35 = Tbs.a.x*t34 |
float | t36 = q2*q3*2.0f |
float | t37 = t19-t20-t21+t22 |
float | t38 = Tbs.a.z*t37 |
float | t39 = t24-t25 |
float | t40 = t26+t36 |
float | t41 = Tbs.a.y*t40 |
float | t60 = Tbs.a.x*t39 |
float | t42 = t38+t41-t60 |
float | t43 = t8*vd |
float | t44 = t5*ve |
float | t45 = t11*vn |
float | t46 = t43+t44+t45 |
float | t47 = t5*vd |
float | t48 = t15*vn |
float | t62 = t8*ve |
float | t49 = t47+t48-t62 |
float | t50 = t15*ve |
float | t51 = t8*vn |
float | t63 = t11*vd |
float | t52 = t50+t51-t63 |
float | t53 = t15*vd |
float | t54 = t11*ve |
float | t64 = t5*vn |
float | t55 = t53+t54-t64 |
float | t56 = t23-t29 |
float | t65 = Tbs.a.y*t56 |
float | t57 = t28+t31-t65 |
float | t58 = t26-t36 |
float | t66 = Tbs.a.z*t58 |
float | t59 = t33+t35-t66 |
float | t61 = P[0][0]*t2*t46 |
float | t67 = P[1][1]*t2*t49 |
float | t68 = P[4][0]*t2*t57 |
float | t69 = P[5][0]*t2*t59 |
float | t70 = P[6][0]*t2*t42 |
float | t71 = P[1][0]*t2*t49 |
float | t72 = P[2][0]*t2*t52 |
float | t73 = P[3][0]*t2*t55 |
float | t74 = t61+t68+t69+t70+t71+t72+t73 |
float | t75 = t2*t46*t74 |
float | t76 = P[4][1]*t2*t57 |
float | t77 = P[5][1]*t2*t59 |
float | t78 = P[6][1]*t2*t42 |
float | t79 = P[0][1]*t2*t46 |
float | t80 = P[2][1]*t2*t52 |
float | t81 = P[3][1]*t2*t55 |
float | t82 = t67+t76+t77+t78+t79+t80+t81 |
float | t83 = t2*t49*t82 |
float | t84 = P[4][2]*t2*t57 |
float | t85 = P[5][2]*t2*t59 |
float | t86 = P[6][2]*t2*t42 |
float | t87 = P[0][2]*t2*t46 |
float | t88 = P[1][2]*t2*t49 |
float | t89 = P[2][2]*t2*t52 |
float | t90 = P[3][2]*t2*t55 |
float | t91 = t84+t85+t86+t87+t88+t89+t90 |
float | t92 = t2*t52*t91 |
float | t93 = P[4][3]*t2*t57 |
float | t94 = P[5][3]*t2*t59 |
float | t95 = P[6][3]*t2*t42 |
float | t96 = P[0][3]*t2*t46 |
float | t97 = P[1][3]*t2*t49 |
float | t98 = P[2][3]*t2*t52 |
float | t99 = P[3][3]*t2*t55 |
float | t100 = t93+t94+t95+t96+t97+t98+t99 |
float | t101 = t2*t55*t100 |
float | t102 = P[4][4]*t2*t57 |
float | t103 = P[5][4]*t2*t59 |
float | t104 = P[6][4]*t2*t42 |
float | t105 = P[0][4]*t2*t46 |
float | t106 = P[1][4]*t2*t49 |
float | t107 = P[2][4]*t2*t52 |
float | t108 = P[3][4]*t2*t55 |
float | t109 = t102+t103+t104+t105+t106+t107+t108 |
float | t110 = t2*t57*t109 |
float | t111 = P[4][5]*t2*t57 |
float | t112 = P[5][5]*t2*t59 |
float | t113 = P[6][5]*t2*t42 |
float | t114 = P[0][5]*t2*t46 |
float | t115 = P[1][5]*t2*t49 |
float | t116 = P[2][5]*t2*t52 |
float | t117 = P[3][5]*t2*t55 |
float | t118 = t111+t112+t113+t114+t115+t116+t117 |
float | t119 = t2*t59*t118 |
float | t120 = P[4][6]*t2*t57 |
float | t121 = P[5][6]*t2*t59 |
float | t122 = P[6][6]*t2*t42 |
float | t123 = P[0][6]*t2*t46 |
float | t124 = P[1][6]*t2*t49 |
float | t125 = P[2][6]*t2*t52 |
float | t126 = P[3][6]*t2*t55 |
float | t127 = t120+t121+t122+t123+t124+t125+t126 |
float | t128 = t2*t42*t127 |
float | t129 = R_LOS+t75+t83+t92+t101+t110+t119+t128 |
float | t130 = 1.0f/t129 |
H_LOS [0] = -t2*t46 | |
Kfusion [0] = -t130*(t61+P[0][6]*t2*t42+P[0][1]*t2*t49+P[0][2]*t2*t52+P[0][3]*t2*t55+P[0][4]*t2*t57+P[0][5]*t2*t59) | |