mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: expand to 6 SCR_USER parameters
This commit is contained in:
parent
209fcf3cbb
commit
140adc126a
|
@ -106,6 +106,18 @@ const AP_Param::GroupInfo AP_Scripting::var_info[] = {
|
|||
// @User: Standard
|
||||
AP_GROUPINFO("USER4", 8, AP_Scripting, _user[3], 0.0),
|
||||
|
||||
// @Param: USER5
|
||||
// @DisplayName: Scripting User Parameter5
|
||||
// @Description: General purpose user variable input for scripts
|
||||
// @User: Standard
|
||||
AP_GROUPINFO("USER5", 10, AP_Scripting, _user[4], 0.0),
|
||||
|
||||
// @Param: USER6
|
||||
// @DisplayName: Scripting User Parameter6
|
||||
// @Description: General purpose user variable input for scripts
|
||||
// @User: Standard
|
||||
AP_GROUPINFO("USER6", 11, AP_Scripting, _user[5], 0.0),
|
||||
|
||||
// @Param: DIR_DISABLE
|
||||
// @DisplayName: Directory disable
|
||||
// @Description: This will stop scripts being loaded from the given locations
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
void handle_mission_command(const AP_Mission::Mission_Command& cmd);
|
||||
|
||||
// User parameters for inputs into scripts
|
||||
AP_Float _user[4];
|
||||
AP_Float _user[6];
|
||||
|
||||
struct terminal_s {
|
||||
int output_fd;
|
||||
|
|
Loading…
Reference in New Issue