APIs, concepts, guides, and more

◆ CompensatorPositionGet()

double CompensatorPositionGet ( int32_t compensatorNumber)
CompensationPositionGet returns the result of a single specified compensator. When you command a move on the compensator's output axis, this value will get added to your target.
(double) Current value of the axis' compensator position in counts.


Part of the Compensator method group.

Sample Code:
Console.WriteLine("CompensationPosition: " + controller.CompensatorPositionGet());
double CompensatorPositionGet(int32_t compensatorNumber)
Get the compensator position.
See the topics page for more info on how and when to use compensators.