<< Previous | Next >> | |
|
void servo_set_coeffs( int which, int prop, int integral, int diff );
Description
- Set the PID closed loop control coefficients. The normal sign for all coefficients should be positive in order to implement a stable control loop. See Technical Note 233 for details.
Parameters
- which
- Servo (0 or 1)
- prop
- Proportional coefficient
- integral
- Integral ("reset") coefficient
- diff
- Derivative ("rate") coefficient
Library
- SERVO.LIB
See Also
- servo_closedloop, servo_openloop
Dynamic C Functions | << Previous | Next >> | rabbit.com |