forked from Archive/PX4-Autopilot
Provide access to FW integrators
This commit is contained in:
parent
22a6abbca2
commit
ee57908911
|
@ -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;
|
||||
|
|
|
@ -97,6 +97,7 @@ public:
|
|||
float get_rate_error();
|
||||
float get_desired_rate();
|
||||
float get_desired_bodyrate();
|
||||
float get_integrator();
|
||||
|
||||
void reset_integrator();
|
||||
|
||||
|
|
Loading…
Reference in New Issue