Eigen
Dependencies: Eigen
Dependents: optWingforHAPS_Eigen
Diff: Autopilot.hpp
- Revision:
- 5:9a42b7d85a6b
- Parent:
- 3:46d4a32011fc
diff -r 46d4a32011fc -r 9a42b7d85a6b Autopilot.hpp --- a/Autopilot.hpp Fri Nov 12 12:55:25 2021 +0000 +++ b/Autopilot.hpp Mon Nov 15 03:50:10 2021 +0000 @@ -29,8 +29,8 @@ float turn_r; //旋回半径 void limit_obj(); - float p_control(float dif, float kp); //比例制御(dif:目標値-現在値, kp:比例ゲイン) - float angdif_pi(float rad); //角度を[-pi, pi]の範囲で出力 + float p_control(float diff, float kp); //比例制御(diff:目標値-現在値, kp:比例ゲイン) + float angdiff_pi(float rad); //角度を[-pi, pi]の範囲で出力 float deg2rad(float deg); //degからradに変換 public: