The RMP Motion Controller APIs

◆ 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.
This function is also available in RapidSequencer.
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
void PathTimeSliceSet(double seconds)
Set the time slice for the Path.