ardupilot/libraries/AC_CustomControl/AC_CustomControl_Empty.h

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

28 lines
662 B
C
Raw Permalink Normal View History

#pragma once
#include "AC_CustomControl_config.h"
#if AP_CUSTOMCONTROL_EMPTY_ENABLED
#include "AC_CustomControl_Backend.h"
class AC_CustomControl_Empty : public AC_CustomControl_Backend {
public:
AC_CustomControl_Empty(AC_CustomControl& frontend, AP_AHRS_View*& ahrs, AC_AttitudeControl*& att_control, AP_MotorsMulticopter*& motors, float dt);
Vector3f update(void) override;
void reset(void) override;
// user settable parameters
static const struct AP_Param::GroupInfo var_info[];
protected:
// declare parameters here
AP_Float param1;
AP_Float param2;
AP_Float param3;
};
#endif // AP_CUSTOMCONTROL_EMPTY_ENABLED