Eigen

Dependencies:   Eigen

Dependents:   optWingforHAPS_Eigen

Revision:
7:988905aed916
Parent:
6:1f5e6efff5b4
Child:
8:7f3ff375fd30
Child:
9:6c3e1d574f86
--- a/Autopilot.cpp	Fri Nov 19 05:18:37 2021 +0000
+++ b/Autopilot.cpp	Fri Nov 19 05:54:55 2021 +0000
@@ -17,7 +17,7 @@
     this->turn_r = r;
 }
 
-void Autopilot:set_alt(float alt, float vel)
+void Autopilot::set_alt(float alt, float vel)
 {
     this->alt_obj = alt;
     this->vel_obj = vel;
@@ -86,7 +86,7 @@
     pitch_obj = p_control(Bsp - B, 0.02f);
 }
 
-void Autopilot::return_val(float &r_obj, float &p_obj, float t_obj)
+void Autopilot::return_val(float &r_obj, float &p_obj, float &t_obj)
 {
     limit_obj();
     r_obj = this->roll_obj;