Eigen
Dependencies: Eigen
Dependents: optWingforHAPS_Eigen
Diff: Autopilot.hpp
- Revision:
- 12:59e547742cd8
- Parent:
- 11:51a0fedd7745
- Child:
- 14:7b6c3f8b85fb
diff -r 51a0fedd7745 -r 59e547742cd8 Autopilot.hpp --- a/Autopilot.hpp Mon Nov 29 09:45:32 2021 +0000 +++ b/Autopilot.hpp Mon Nov 29 13:12:47 2021 +0000 @@ -3,7 +3,7 @@ #include "mbed.h" #include "Vector3.hpp" -#include <vector> +#include "Matrix.h" #include <cmath> #define M_PI 3.141592f @@ -45,7 +45,7 @@ void set_turn(float x, float y, float r); //定点旋回の設定 void set_alt(float alt, float vel); //高度,速度の設定 - void update_val(const Vector3 rpy, const float altitude, const Vector3 pos, const Vector3 vel); //姿勢角等の更新 + void update_val(const Vector3 rpy, const float altitude, const Matrix pos, const Matrix vel); //姿勢角等の更新 void level(); //水平飛行 void guide(); //定点誘導