Takeuchi Issei
/
4Omunisleeve3
メカナムのコード
shared/EigenCalculation/EigenCalculation.h@0:ee7e9405e1c7, 2021-04-14 (annotated)
- Committer:
- e2011220
- Date:
- Wed Apr 14 07:26:19 2021 +0000
- Revision:
- 0:ee7e9405e1c7
first
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
e2011220 | 0:ee7e9405e1c7 | 1 | #ifndef EIGEN_CALCULATION_H_ |
e2011220 | 0:ee7e9405e1c7 | 2 | #define EIGEN_CALCULATION_H_ |
e2011220 | 0:ee7e9405e1c7 | 3 | |
e2011220 | 0:ee7e9405e1c7 | 4 | #include <Dense.h> |
e2011220 | 0:ee7e9405e1c7 | 5 | #include <LU.h> |
e2011220 | 0:ee7e9405e1c7 | 6 | #include <math.h> |
e2011220 | 0:ee7e9405e1c7 | 7 | |
e2011220 | 0:ee7e9405e1c7 | 8 | namespace EigenCalculation |
e2011220 | 0:ee7e9405e1c7 | 9 | { |
e2011220 | 0:ee7e9405e1c7 | 10 | enum{ |
e2011220 | 0:ee7e9405e1c7 | 11 | X, |
e2011220 | 0:ee7e9405e1c7 | 12 | Y, |
e2011220 | 0:ee7e9405e1c7 | 13 | Yaw |
e2011220 | 0:ee7e9405e1c7 | 14 | }; |
e2011220 | 0:ee7e9405e1c7 | 15 | |
e2011220 | 0:ee7e9405e1c7 | 16 | void invert_matrix(Eigen::Matrix3d *matrix3d); |
e2011220 | 0:ee7e9405e1c7 | 17 | void yawling_correct(Eigen::Vector3d *vector3d); |
e2011220 | 0:ee7e9405e1c7 | 18 | void rotate_coordinate(Eigen::Vector3d *vector3d, double yaw); |
e2011220 | 0:ee7e9405e1c7 | 19 | } |
e2011220 | 0:ee7e9405e1c7 | 20 | |
e2011220 | 0:ee7e9405e1c7 | 21 | |
e2011220 | 0:ee7e9405e1c7 | 22 | |
e2011220 | 0:ee7e9405e1c7 | 23 | #endif |