Eigen

Dependencies:   Eigen

Dependents:   optWingforHAPS_Eigen

Revision:
1:73704460a8b4
Parent:
0:e9cdfc6579a7
Child:
2:049e057f4625
--- a/Autopilot.hpp	Fri Nov 12 06:50:45 2021 +0000
+++ b/Autopilot.hpp	Fri Nov 12 09:03:10 2021 +0000
@@ -6,7 +6,7 @@
 #include <vector>
 #include <cmath>
 
-#define pi 3.141592f;
+#define M_PI 3.141592f
 
 class Autopilot
 {
@@ -43,10 +43,10 @@
     void turn();     //定点旋回(時計回り)
     void keep_alt();    //高度維持
     
-    void set_dest(Vector3 dest);    //誘導地点の設定
-    void set_turn(Vector3 center, float r);  //定点旋回の設定
+    void set_dest(float x, float y);    //誘導地点の設定
+    void set_turn(float x, float y, float r);  //定点旋回の設定
     
     std::vector<float> return_val();     //目標値を返す
-}
+};
 
 #endif
\ No newline at end of file