ardupilot/libraries/AP_EFI/AP_EFI_ThrottleLinearisation.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
498 B
C
Raw Permalink Normal View History

#include "AP_EFI_config.h"
#if AP_EFI_THROTTLE_LINEARISATION_ENABLED
/*
throttle linearisation support
*/
class AP_EFI_ThrLin {
public:
AP_EFI_ThrLin();
static const struct AP_Param::GroupInfo var_info[];
/*
apply throttle linearisation, returning value to pass to the
engine
*/
float linearise_throttle(float throttle_pct);
private:
AP_Int8 enable;
AP_Float coefficient[3];
AP_Float offset;
};
#endif // AP_EFI_THROTTLE_LINEARISATION_ENABLED