How to get non-random results from simIK.findConfig ?
Posted: 19 Dec 2023, 10:02
I have a 7Dof manipulator and want to follow some defined target points (as given by various path planners). However, if I calculate the (cartesian) target points and try to solve the inverse kinematics by calling simIK.findConfig, I get a random joint configuration taken from the infinite solutions (because of the additional DoF). The solution is not similar to the current configuration of the robot, so it would generate a lot of unnecessary robot motion. Can I force simIk.findConfig to provide a solution similar to the current state of the robot ? Do I have to use a different function to solve the IK ?
When looking at the results of simIK.generatePath, there seems to be a possibility to generate a string of similar configurations. How is this done internally ?
A probably related problem: I see some suggestions to use the ruckig generator function sim.moveToConfig to calculate positions along a line, treating it as a 1DoF problem. While I understand the idea, I do not understand how this is done with the syntax of the function. sim.moveToConfig takes as input a start and target pose, but not a complete path. Is theree a sample implemenation for this ?
Thanks in advance !
When looking at the results of simIK.generatePath, there seems to be a possibility to generate a string of similar configurations. How is this done internally ?
A probably related problem: I see some suggestions to use the ruckig generator function sim.moveToConfig to calculate positions along a line, treating it as a 1DoF problem. While I understand the idea, I do not understand how this is done with the syntax of the function. sim.moveToConfig takes as input a start and target pose, but not a complete path. Is theree a sample implemenation for this ?
Thanks in advance !