AC_PID: Fix before squash 2

This commit is contained in:
Leonard Hall 2021-05-20 20:12:20 +09:30 committed by Andrew Tridgell
parent 5c47c0a131
commit 16ba99149b
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ Vector2f AC_PID_2D::get_p() const
return _error * _kp;
}
Vector2f AC_PID_2D::get_i() const
const Vector2f& AC_PID_2D::get_i() const
{
return _integrator;
}

View File

@ -33,7 +33,7 @@ public:
// get results from pid controller
Vector2f get_p() const;
Vector2f get_i() const;
const Vector2f& get_i() const;
Vector2f get_d() const;
Vector2f get_ff();
const Vector2f& get_error() const { return _error; }