APIs, concepts, guides, and more

◆ PathTimeSliceSet()

void PathTimeSliceSet ( double seconds)
PathTimeSliceSet sets the time slice for the interpolated motion paramaters which are calculated after the call to PathListEnd(). At this time, the Path Lines and Arcs are converted into small motion segments which are spaced in time according to the time slice.
secondsRecommended values are 5 to 100 milliseconds. Values outside this range could produce undesired path motions.
Sample Code:
multiAxis->PathTimeSliceSet(0.020); // set time slice to 20 milliseconds
It is not required to set this value, the default (and recommended value) is 10 milliseconds. Also, it's a good idea to set this value to a multiple of the controller's sample period.
See also
PathListEnd PathTimeSliceGet SampleRateGet