Hello,
May I ask how to make the end of the UR10 robotic arm move along a path, ensuring that the position and direction of the robotic arm move along the path. I referred to https://manual.coppeliarobotics.com/en/paths.htm. The example in the link is to make an object move along a path. Although I successfully tried to move the object along the Path, my robotic arm did not move well along the Path, and the position and direction of the end of the robotic arm were both offset.
My method is to merge pos and quat into pose and call sim.moveToPose.
Simply move the IK target dummy onto the (interpolated) pose returned by sim.getPathInterpolatedConfig.
The script of the robot will handle IK, e.g. moving the arm so that IK tip's pose matches IK target's pose (you have to create such script / add IK handling to such script: there's plenty of example scenes and tutorials).
fferri wrote: ↑06 May 2024, 13:13
Simply move the IK target dummy onto the (interpolated) pose returned by sim.getPathInterpolatedConfig.
The script of the robot will handle IK, e.g. moving the arm so that IK tip's pose matches IK target's pose (you have to create such script / add IK handling to such script: there's plenty of example scenes and tutorials).
Hello,
Thank you very much for providing the solution. I conducted the experiment and achieved success.
mecabot wrote: ↑07 May 2024, 05:38
Please could you explain a little bit how to Simply move the IK target dummy onto the (interpolated) pose returned by sim.getPathInterpolatedConfig.?
Apply the pos and quat obtained from sim.getPathInterpolatedConfiguration to the target dummy of the robot, that is, set the position and quaternion for the target dummy.