currentPos: the current configuration, i.e. the current joint positions/angles.
currentVel: the current velocity. Can be nil in which case a velocity vector of 0 is used.
currentAccel: the current acceleration. Can be nil in which case an acceleration vector of 0 is used.
maxVel: the maximum allowed velocity.
maxAccel: the maximum allowed acceleration.
maxJerk: the maximum allowed jerk.
targetPos: the desired target configuration.
targetVel: the desired target point velocity. Can be nil in which case a velocity vector of 0 is used.
callback: a callback function that will be called for each movement step. The arguments provided to the callback function are: currentConfig, currentVel, currentAccel, auxData.
auxData: random data that will be forwarded to the callback function.
cyclicJoints: a table of booleans indicating which joint is cyclic (for cyclic joints, the movement will always go in the direction that represents the shortest distance to the goal). Can be nil or omitted.
timeStep: the desired time step size. A value of 0 indicates that the current simulation time step will be used.
|