The RMP Motion Controller APIs

◆ PathTimeSliceSet()

void PathTimeSliceSet ( double seconds)
Description:
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.
Parameters
secondsRecommended values are 5 to 100 milliseconds. Values outside this range could produce undesired path motions.
Remarks
This function is also available in RapidSequencer.
Sample Code:
multiAxis->PathTimeSliceSet(0.020); // set time slice to 20 milliseconds
Note
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