th_gains
Purpose:
-
Set throttle gains
Enter:
-
th_gains <P> <I> <D> [+s] [m=mode]
Where:
-
P
Specify the desired Proportional gain for the throttle controller.
I
Specify the desired Integral gain for the throttle controller.
D
Specify the desired Derivative gain for the throttle controller.
+s
Optional. Specify this flag to indicate the gains should be written to the ctrl_specs.NNN file.
m
<control_mode> – Optional
Specify the target engine control mode (as gains are specific to each mode):
1 => THROT_SPEED
2 => THROT_SPEED
3 => THROT_SPEED
4 => THROT_GROSS_TORQUE
5 => THROT_NET_TORQUE
6 => THROT_OTHER
Example:
-
th_gains .08 .003 .02
The above command sets the gains of the throttle controller to:
Proportional gain = .08
Integral gain = .003
Derivative gain = .02