PX4 Firmware
PX4 Autopilot Software http://px4.io
H_OPT.c
Go to the documentation of this file.
1
t2
= q0*q0;
2
t3
= q1*q1;
3
t4
= q2*q2;
4
t5
= q3*q3;
5
t6
= pd-ptd;
6
t7
= 1.0/(
t6
*
t6
);
7
t8
= q0*q3*2.0;
8
t9
=
t2
-
t3
-
t4
+
t5
;
9
A0
[0][0] = -
t7
*
t9
*(vel_z*(q0*q1*2.0+q2*q3*2.0)+vel_y*(
t2
-
t3
+
t4
-
t5
)-vel_x*(
t8
-q1*q2*2.0));
10
A0
[1][0] =
t7
*
t9
*(-vel_z*(q0*q2*2.0-q1*q3*2.0)+vel_x*(
t2
+
t3
-
t4
-
t5
)+vel_y*(
t8
+q1*q2*2.0));
t7
t7
Definition:
H_OPT.c:6
t3
t3
Definition:
H_OPT.c:2
t6
t6
Definition:
H_OPT.c:5
t9
t9
Definition:
H_OPT.c:8
t8
t8
Definition:
H_OPT.c:7
t2
t2
Definition:
H_OPT.c:1
t4
t4
Definition:
H_OPT.c:3
A0
A0[0][0]
Definition:
H_OPT.c:9
t5
t5
Definition:
H_OPT.c:4
src
lib
ecl
EKF
matlab
scripts
Terrain Estimator
H_OPT.c
Generated by
1.8.13