Provide access to FW integrators

This commit is contained in:
Andreas Antener 2017-11-26 15:23:19 +01:00 committed by Lorenz Meier
parent 22a6abbca2
commit ee57908911
2 changed files with 6 additions and 0 deletions

View File

@ -119,6 +119,11 @@ float ECL_Controller::get_desired_bodyrate()
return _bodyrate_setpoint;
}
float ECL_Controller::get_integrator()
{
return _integrator;
}
float ECL_Controller::constrain_airspeed(float airspeed, float minspeed, float maxspeed)
{
float airspeed_result = airspeed;

View File

@ -97,6 +97,7 @@ public:
float get_rate_error();
float get_desired_rate();
float get_desired_bodyrate();
float get_integrator();
void reset_integrator();