Change the current value for set angle.
Make the absolute position regulation going toward the new provided angle. Returns immediately, but keep regulating.
- Warning
- This function requires the enhanced NBC/NXC firmware version 1.31+
- Parameters
-
output | Desired output port. Can be a constant or a variable, see Output port constants. |
angle | New set position, in degree. The 0 angle corresponds to the position of the motor when absolute position regulation was first enabled. Can be negative. Can be greater than 360 degree to make several turns. |
- Examples:
- ex_PosReg.nxc.