Class PitchErrorCompensationData

Class Documentation

class PitchErrorCompensationData

This class contains data for pitch error compensation for an axis. Also see Parameters.

Public Functions

PitchErrorCompensationData()

Public Members

int enable

If 1, pitch error compensation is enabled. If 0, pitch error compensation is disabled.

double pitchOriginPosition

The command position at the pitch origin, in user units.

int pitchOriginIndex

The index of the pitch origin.

double pitchInterval

The distance between pitch points, in user units.

char pitchIntervalDirection

If this value is set to 0 or 1, the values in the pitchCompensationValue array are specified normally. If this value is set to -1, the values in the pitchCompensationValue array are specified in reverse order.

int pitchCount

The number of pitch points. This value must be between 1 and maxPitchErrorCompPoints.

double pitchCompensationValue[constants::maxPitchErrorCompPoints]

The offset at each pitch point, in user units.

double edgeDropoffDistance

The distance beyond the first and last pitch points at which the offset reduces to 0, in user units. If this parameter is set to 0, the offset will not reduce to 0 at command positions beyond the first and last pitch points.

PitchErrorCompensationOptions options

The pitch error compensation options.