Takeuchi Issei
/
4Omunisleeve3
メカナムのコード
Diff: shared/EigenCalculation/EigenCalculation.h
- Revision:
- 0:ee7e9405e1c7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shared/EigenCalculation/EigenCalculation.h Wed Apr 14 07:26:19 2021 +0000 @@ -0,0 +1,23 @@ +#ifndef EIGEN_CALCULATION_H_ +#define EIGEN_CALCULATION_H_ + +#include <Dense.h> +#include <LU.h> +#include <math.h> + +namespace EigenCalculation +{ + enum{ + X, + Y, + Yaw + }; + + void invert_matrix(Eigen::Matrix3d *matrix3d); + void yawling_correct(Eigen::Vector3d *vector3d); + void rotate_coordinate(Eigen::Vector3d *vector3d, double yaw); +} + + + +#endif