mirror of https://github.com/ArduPilot/ardupilot
ArduCopter - added CH6_STABILIZE_KD tuning value
This commit is contained in:
parent
c1eede5ef3
commit
0efb0e5b4d
|
@ -2044,6 +2044,10 @@ static void tuning(){
|
||||||
g.pi_stabilize_pitch.kI(tuning_value);
|
g.pi_stabilize_pitch.kI(tuning_value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case CH6_STABILIZE_KD:
|
||||||
|
g.stabilize_d = tuning_value;
|
||||||
|
break;
|
||||||
|
|
||||||
case CH6_ACRO_KP:
|
case CH6_ACRO_KP:
|
||||||
g.acro_p = tuning_value;
|
g.acro_p = tuning_value;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -141,6 +141,7 @@
|
||||||
// Attitude
|
// Attitude
|
||||||
#define CH6_STABILIZE_KP 1
|
#define CH6_STABILIZE_KP 1
|
||||||
#define CH6_STABILIZE_KI 2
|
#define CH6_STABILIZE_KI 2
|
||||||
|
#define CH6_STABILIZE_KD 29
|
||||||
#define CH6_YAW_KP 3
|
#define CH6_YAW_KP 3
|
||||||
#define CH6_YAW_KI 24
|
#define CH6_YAW_KI 24
|
||||||
// Rate
|
// Rate
|
||||||
|
|
Loading…
Reference in New Issue