PX4 Firmware
PX4 Autopilot Software http://px4.io
Q_airdata.c File Reference

Go to the source code of this file.

Variables

float t3 = ve-vwe
 
float t4 = q0*q0
 
float t5 = q1*q1
 
float t6 = q2*q2
 
float t7 = q3*q3
 
float t8 = vd-vwd
 
float t9 = q0*q1*2.0f
 
float t10 = q2*q3*2.0f
 
float t11 = vn-vwn
 
float t13 = q0*q2*2.0f
 
float t14 = q1*q3*2.0f
 
float t18 = t4-t5-t6+t7
 
float t19 = t8*t18
 
float t20 = t9-t10
 
float t21 = t3*t20
 
float t22 = t13+t14
 
float t23 = t11*t22
 
float t2 = t19-t21+t23
 
float t15 = q0*q3*2.0f
 
float t16 = q1*q2*2.0f
 
float t24 = t9+t10
 
float t25 = t4-t5+t6-t7
 
float t26 = t3*t25
 
float t27 = t8*t24
 
float t28 = t15-t16
 
float t29 = t11*t28
 
float t12 = t26+t27-t29
 
float t30 = t13-t14
 
float t31 = t4+t5-t6-t7
 
float t32 = t11*t31
 
float t33 = t8*t30
 
float t34 = t15+t16
 
float t35 = t3*t34
 
float t17 = t32-t33+t35
 
float t44 = t2*t18*2.0f
 
float t45 = t12*t24*2.0f
 
float t46 = t17*t30*2.0f
 
float t36 = t44+t45-t46
 
float t37 = t2*t2
 
float t38 = t12*t12
 
float t39 = t17*t17
 
float t40 = t37+t38+t39
 
float t41 = 1.0f/t40
 
float t48 = t12*t25*2.0f
 
float t49 = t2*t20*2.0f
 
float t50 = t17*t34*2.0f
 
float t42 = t48-t49+t50
 
float t52 = t17*t31*2.0f
 
float t53 = t2*t22*2.0f
 
float t54 = t12*t28*2.0f
 
float t43 = t52+t53-t54
 
float t47 = t36*t36
 
float t51 = t42*t42
 
float t55 = t43*t43
 
float t57 = 1.0f/(t17*t17)
 
float t58 = 1.0f/t17
 
float t63 = t18*t58
 
float t64 = t2*t30*t57
 
float t56 = t63+t64
 
float t66 = t22*t58
 
float t67 = t2*t31*t57
 
float t59 = t66-t67
 
float t60 = t37*t57
 
float t61 = t60+1.0f
 
float t62 = 1.0f/(t61*t61)
 
float t65 = t56*t56
 
float t68 = t59*t59
 
float t70 = t20*t58
 
float t71 = t2*t34*t57
 
float t69 = t70+t71
 
float t72 = t69*t69
 
float t78 = t25*t58
 
float t79 = t12*t34*t57
 
float t73 = t78-t79
 
float t81 = t28*t58
 
float t82 = t12*t31*t57
 
float t74 = t81+t82
 
float t75 = t38*t57
 
float t76 = t75+1.0f
 
float t77 = 1.0f/(t76*t76)
 
float t80 = t73*t73
 
float t83 = t74*t74
 
float t85 = t24*t58
 
float t86 = t12*t30*t57
 
float t84 = t85+t86
 
float t87 = t84*t84
 
float tas_var = t41*t47*vd_var*0.25f+t41*t51*ve_var*0.25f+t41*t55*vn_var*0.25f+t41*t47*vwd_var*0.25f+t41*t51*vwe_var*0.25f+t41*t55*vwn_var*0.25f
 
float aoa_var = t62*t65*vd_var+t62*t72*ve_var+t62*t68*vn_var+t62*t65*vwd_var+t62*t72*vwe_var+t62*t68*vwn_var
 
float aos_var = t77*t87*vd_var+t77*t80*ve_var+t77*t83*vn_var+t77*t87*vwd_var+t77*t80*vwe_var+t77*t83*vwn_var
 

Variable Documentation

◆ aoa_var

float aoa_var = t62*t65*vd_var+t62*t72*ve_var+t62*t68*vn_var+t62*t65*vwd_var+t62*t72*vwe_var+t62*t68*vwn_var

Definition at line 88 of file Q_airdata.c.

◆ aos_var

float aos_var = t77*t87*vd_var+t77*t80*ve_var+t77*t83*vn_var+t77*t87*vwd_var+t77*t80*vwe_var+t77*t83*vwn_var

Definition at line 89 of file Q_airdata.c.

◆ t10

float t10 = q2*q3*2.0f

Definition at line 8 of file Q_airdata.c.

◆ t11

float t11 = vn-vwn

Definition at line 9 of file Q_airdata.c.

◆ t12

float t12 = t26+t27-t29

Definition at line 27 of file Q_airdata.c.

◆ t13

float t13 = q0*q2*2.0f

Definition at line 10 of file Q_airdata.c.

◆ t14

float t14 = q1*q3*2.0f

Definition at line 11 of file Q_airdata.c.

◆ t15

float t15 = q0*q3*2.0f

Definition at line 19 of file Q_airdata.c.

◆ t16

float t16 = q1*q2*2.0f

Definition at line 20 of file Q_airdata.c.

◆ t17

float t17 = t32-t33+t35

Definition at line 34 of file Q_airdata.c.

◆ t18

float t18 = t4-t5-t6+t7

Definition at line 12 of file Q_airdata.c.

◆ t19

float t19 = t8*t18

Definition at line 13 of file Q_airdata.c.

◆ t2

float t2 = t19-t21+t23

Definition at line 18 of file Q_airdata.c.

◆ t20

float t20 = t9-t10

Definition at line 14 of file Q_airdata.c.

◆ t21

float t21 = t3*t20

Definition at line 15 of file Q_airdata.c.

◆ t22

float t22 = t13+t14

Definition at line 16 of file Q_airdata.c.

◆ t23

float t23 = t11*t22

Definition at line 17 of file Q_airdata.c.

◆ t24

float t24 = t9+t10

Definition at line 21 of file Q_airdata.c.

◆ t25

float t25 = t4-t5+t6-t7

Definition at line 22 of file Q_airdata.c.

◆ t26

float t26 = t3*t25

Definition at line 23 of file Q_airdata.c.

◆ t27

float t27 = t8*t24

Definition at line 24 of file Q_airdata.c.

◆ t28

float t28 = t15-t16

Definition at line 25 of file Q_airdata.c.

◆ t29

float t29 = t11*t28

Definition at line 26 of file Q_airdata.c.

◆ t3

float t3 = ve-vwe

Definition at line 1 of file Q_airdata.c.

◆ t30

float t30 = t13-t14

Definition at line 28 of file Q_airdata.c.

◆ t31

float t31 = t4+t5-t6-t7

Definition at line 29 of file Q_airdata.c.

◆ t32

float t32 = t11*t31

Definition at line 30 of file Q_airdata.c.

◆ t33

float t33 = t8*t30

Definition at line 31 of file Q_airdata.c.

◆ t34

float t34 = t15+t16

Definition at line 32 of file Q_airdata.c.

◆ t35

float t35 = t3*t34

Definition at line 33 of file Q_airdata.c.

◆ t36

float t36 = t44+t45-t46

Definition at line 38 of file Q_airdata.c.

◆ t37

float t37 = t2*t2

Definition at line 39 of file Q_airdata.c.

◆ t38

float t38 = t12*t12

Definition at line 40 of file Q_airdata.c.

◆ t39

float t39 = t17*t17

Definition at line 41 of file Q_airdata.c.

◆ t4

float t4 = q0*q0

Definition at line 2 of file Q_airdata.c.

◆ t40

float t40 = t37+t38+t39

Definition at line 42 of file Q_airdata.c.

◆ t41

float t41 = 1.0f/t40

Definition at line 43 of file Q_airdata.c.

◆ t42

float t42 = t48-t49+t50

Definition at line 47 of file Q_airdata.c.

◆ t43

float t43 = t52+t53-t54

Definition at line 51 of file Q_airdata.c.

◆ t44

float t44 = t2*t18*2.0f

Definition at line 35 of file Q_airdata.c.

◆ t45

float t45 = t12*t24*2.0f

Definition at line 36 of file Q_airdata.c.

◆ t46

float t46 = t17*t30*2.0f

Definition at line 37 of file Q_airdata.c.

◆ t47

float t47 = t36*t36

Definition at line 52 of file Q_airdata.c.

◆ t48

float t48 = t12*t25*2.0f

Definition at line 44 of file Q_airdata.c.

◆ t49

float t49 = t2*t20*2.0f

Definition at line 45 of file Q_airdata.c.

◆ t5

float t5 = q1*q1

Definition at line 3 of file Q_airdata.c.

◆ t50

float t50 = t17*t34*2.0f

Definition at line 46 of file Q_airdata.c.

◆ t51

float t51 = t42*t42

Definition at line 53 of file Q_airdata.c.

◆ t52

float t52 = t17*t31*2.0f

Definition at line 48 of file Q_airdata.c.

◆ t53

float t53 = t2*t22*2.0f

Definition at line 49 of file Q_airdata.c.

◆ t54

float t54 = t12*t28*2.0f

Definition at line 50 of file Q_airdata.c.

◆ t55

float t55 = t43*t43

Definition at line 54 of file Q_airdata.c.

◆ t56

float t56 = t63+t64

Definition at line 59 of file Q_airdata.c.

◆ t57

float t57 = 1.0f/(t17*t17)

Definition at line 55 of file Q_airdata.c.

◆ t58

float t58 = 1.0f/t17

Definition at line 56 of file Q_airdata.c.

◆ t59

float t59 = t66-t67

Definition at line 62 of file Q_airdata.c.

◆ t6

float t6 = q2*q2

Definition at line 4 of file Q_airdata.c.

◆ t60

float t60 = t37*t57

Definition at line 63 of file Q_airdata.c.

◆ t61

float t61 = t60+1.0f

Definition at line 64 of file Q_airdata.c.

◆ t62

float t62 = 1.0f/(t61*t61)

Definition at line 65 of file Q_airdata.c.

◆ t63

float t63 = t18*t58

Definition at line 57 of file Q_airdata.c.

◆ t64

float t64 = t2*t30*t57

Definition at line 58 of file Q_airdata.c.

◆ t65

float t65 = t56*t56

Definition at line 66 of file Q_airdata.c.

◆ t66

float t66 = t22*t58

Definition at line 60 of file Q_airdata.c.

◆ t67

float t67 = t2*t31*t57

Definition at line 61 of file Q_airdata.c.

◆ t68

float t68 = t59*t59

Definition at line 67 of file Q_airdata.c.

◆ t69

float t69 = t70+t71

Definition at line 70 of file Q_airdata.c.

◆ t7

float t7 = q3*q3

Definition at line 5 of file Q_airdata.c.

◆ t70

float t70 = t20*t58

Definition at line 68 of file Q_airdata.c.

◆ t71

float t71 = t2*t34*t57

Definition at line 69 of file Q_airdata.c.

◆ t72

float t72 = t69*t69

Definition at line 71 of file Q_airdata.c.

◆ t73

float t73 = t78-t79

Definition at line 74 of file Q_airdata.c.

◆ t74

float t74 = t81+t82

Definition at line 77 of file Q_airdata.c.

◆ t75

float t75 = t38*t57

Definition at line 78 of file Q_airdata.c.

◆ t76

float t76 = t75+1.0f

Definition at line 79 of file Q_airdata.c.

◆ t77

float t77 = 1.0f/(t76*t76)

Definition at line 80 of file Q_airdata.c.

◆ t78

float t78 = t25*t58

Definition at line 72 of file Q_airdata.c.

◆ t79

float t79 = t12*t34*t57

Definition at line 73 of file Q_airdata.c.

◆ t8

float t8 = vd-vwd

Definition at line 6 of file Q_airdata.c.

◆ t80

float t80 = t73*t73

Definition at line 81 of file Q_airdata.c.

◆ t81

float t81 = t28*t58

Definition at line 75 of file Q_airdata.c.

◆ t82

float t82 = t12*t31*t57

Definition at line 76 of file Q_airdata.c.

◆ t83

float t83 = t74*t74

Definition at line 82 of file Q_airdata.c.

◆ t84

float t84 = t85+t86

Definition at line 85 of file Q_airdata.c.

◆ t85

float t85 = t24*t58

Definition at line 83 of file Q_airdata.c.

◆ t86

float t86 = t12*t30*t57

Definition at line 84 of file Q_airdata.c.

◆ t87

float t87 = t84*t84

Definition at line 86 of file Q_airdata.c.

◆ t9

float t9 = q0*q1*2.0f

Definition at line 7 of file Q_airdata.c.

◆ tas_var

float tas_var = t41*t47*vd_var*0.25f+t41*t51*ve_var*0.25f+t41*t55*vn_var*0.25f+t41*t47*vwd_var*0.25f+t41*t51*vwe_var*0.25f+t41*t55*vwn_var*0.25f

Definition at line 87 of file Q_airdata.c.