sim.moveToPoseGenerates object movement data using the Ruckig online trajectory generator, by performing interpolations between two poses. The function can operate by handling 4 movement variables (x,y,z and angle between the two poses), or a single movement variable (t, which requires a metric to be specified for distance calculation between the two poses). This function can only be called from a script running in a thread, since this is a blocking operation Synopsislist endP/endM, float t = sim.moveToPose(int flags, list currentP/currentM,
list maxVel, list maxAccel,
list maxJerk, list targetP/targetM,
func callback, auxData,
list metric = None,
float timeStep = 0)
float[7]/float[12] endP/endM, float t = sim.moveToPose(int flags,
float[7]/float[12] currentP/currentM,
float[] maxVel, float[] maxAccel,
float[] maxJerk,
float[7]/float[12] targetP/targetM,
func/string callback, auxData,
float[4] metric = nil,
float timeStep = 0)
Arguments
Return values
|