mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
Copter : add SURFTRAK_MODE parameter
Added a parameter which will be used to set the surface to be tracked in surface tracking. Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
This commit is contained in:
parent
0cae113521
commit
e1ded4e3f6
@ -1103,6 +1103,13 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
|
||||
// @User: Advanced
|
||||
AP_GROUPINFO("PILOT_Y_EXPO", 50, ParametersG2, pilot_y_expo, PILOT_Y_EXPO_DEFAULT),
|
||||
|
||||
// @Param: SURFTRAK_MODE
|
||||
// @DisplayName: Surface Tracking Mode
|
||||
// @Description: set which surface to track in surface tracking
|
||||
// @Values: 0:Do not track, 1:Ground, 2:Ceiling
|
||||
// @User: Advanced
|
||||
AP_GROUPINFO("SURFTRAK_MODE", 51, ParametersG2, surftrak_mode, (uint8_t)Copter::SurfaceTracking::Surface::GROUND),
|
||||
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
||||
|
@ -666,6 +666,7 @@ public:
|
||||
|
||||
AP_Float pilot_y_rate;
|
||||
AP_Float pilot_y_expo;
|
||||
AP_Int8 surftrak_mode;
|
||||
};
|
||||
|
||||
extern const AP_Param::Info var_info[];
|
||||
|
Loading…
Reference in New Issue
Block a user