|
|
|
@ -6,9 +6,11 @@ extern const AP_HAL::HAL& hal;
@@ -6,9 +6,11 @@ extern const AP_HAL::HAL& hal;
|
|
|
|
|
#if APM_BUILD_TYPE(APM_BUILD_ArduPlane) |
|
|
|
|
// default gains for Plane
|
|
|
|
|
# define AC_ATTITUDE_CONTROL_INPUT_TC_DEFAULT 0.2f // Soft
|
|
|
|
|
#define AC_ATTITUDE_CONTROL_ANGLE_LIMIT_MIN 5.0 // Min lean angle so that vehicle can maintain limited control
|
|
|
|
|
#else |
|
|
|
|
// default gains for Copter and Sub
|
|
|
|
|
# define AC_ATTITUDE_CONTROL_INPUT_TC_DEFAULT 0.15f // Medium
|
|
|
|
|
#define AC_ATTITUDE_CONTROL_ANGLE_LIMIT_MIN 10.0 // Min lean angle so that vehicle can maintain limited control
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
AC_AttitudeControl *AC_AttitudeControl::_singleton; |
|
|
|
|