NXC
Version 1.2.1 r5
|
Enable absolute position regulation with PID factors.
Enable absolute position regulation on the specified output. Motor is kept regulated as long as this is enabled. Optionally specify proportional, integral, and derivative factors.
output | Desired output port. Can be a constant or a variable, see Output port constants. |
p | Proportional factor used by the firmware's PID motor control algorithm. See PID constants. Default value is PID_3. |
i | Integral factor used by the firmware's PID motor control algorithm. See PID constants. Default value is PID_1. |
d | Derivative factor used by the firmware's PID motor control algorithm. See PID constants. Default value is PID_1. |