ardupilot/ArduCopter/UserParameters.h

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

23 lines
565 B
C
Raw Normal View History

2018-08-21 10:02:40 -03:00
#pragma once
#include <AP_Param/AP_Param.h>
class UserParameters {
public:
UserParameters();
2018-08-21 10:02:40 -03:00
static const struct AP_Param::GroupInfo var_info[];
2018-08-21 10:02:40 -03:00
// Put accessors to your parameter variables here
// UserCode usage example: g2.user_parameters.get_int8Param()
AP_Int8 get_int8Param() const { return _int8; }
AP_Int16 get_int16Param() const { return _int16; }
AP_Float get_floatParam() const { return _float; }
2018-08-21 10:02:40 -03:00
private:
// Put your parameter variable definitions here
AP_Int8 _int8;
AP_Int16 _int16;
AP_Float _float;
};