ardupilot/ArduCopter/UserParameters.cpp

19 lines
519 B
C++
Raw Permalink Normal View History

2018-08-21 10:02:40 -03:00
#include "UserParameters.h"
// "USR" + 13 chars remaining for param name
2018-08-21 10:02:40 -03:00
const AP_Param::GroupInfo UserParameters::var_info[] = {
2018-08-21 10:02:40 -03:00
// Put your parameters definition here
// Note the maximum length of parameter name is 13 chars
AP_GROUPINFO("_INT8", 0, UserParameters, _int8, 0),
AP_GROUPINFO("_INT16", 1, UserParameters, _int16, 0),
AP_GROUPINFO("_FLOAT", 2, UserParameters, _float, 0),
2018-08-21 10:02:40 -03:00
AP_GROUPEND
};
UserParameters::UserParameters()
{
AP_Param::setup_object_defaults(this, var_info);
}