Robot return different joints position

Typically: "How do I... ", "How can I... " questions
Post Reply
haenry11
Posts: 1
Joined: 03 Jul 2024, 13:46

Robot return different joints position

Post by haenry11 »

I create a scene with a pick and place robot arm. I use SimIK for Inverse Kinematic.
My robot plan is: From home position -> Move to grasp -> Then move back to the home position.
However, when the robot returns to home position after makes a grasp action, the position [deg] of joints are changed and the pose of robot is bad (even thought the tip position is same as the beginning).

How can I make the robot to move back exactly as its beginning pose (with the same joints position value)?

fferri
Posts: 1297
Joined: 09 Sep 2013, 19:28

Re: Robot return different joints position

Post by fferri »

What is the size of the task and how many degrees of freedom has the robot?

If the robot is redundant for the task, there are infinite robot configurations satisfying the task, and you'll never get the exact same configuration for a given task.

coppelia
Site Admin
Posts: 10504
Joined: 14 Dec 2012, 00:25

Re: Robot return different joints position

Post by coppelia »

...unless of course you use FK instead of IK to drive the robot via its shortest path (in configuration space) to its initial configuration. You'd use for example sim.moveToConfig.

Cheers

Post Reply