Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hey F4bich,

good to hear you are still working with this! :)

Sadly, there is no exposed interface at the moment to set the tolerance per IK request. I'm thinking about more generic interfaces for IK plugins at the moment, but nothing has been implemented yet.

The general default tolerance for IK plugins in MoveIt is 1e-5, although every plugin specifies this on their own and it also remains for the plugin to decide what that tolerance means w.r.t. the combination of position & orientation differences.

The kdl plugin reads a ros parameter "epsilon" that allows to set the tolerance during startup. TracIK does not export its epsilon as a parameter, but I'm sure they would welcome a pull-request to change that though.

As jrgnicho already proposed you could use the low-level functions of KDL/TracIK where you can pass in tolerance as a parameter.

Hey F4bich,

good to hear you are still working with this! :)

Sadly, there is no exposed interface at the moment to set the tolerance per IK request. I'm thinking about more generic interfaces for IK plugins at the moment, but nothing has been implemented yet.

The general default tolerance for IK plugins in MoveIt is 1e-5, although every plugin specifies this on their own and it also remains for the plugin to decide what that tolerance means w.r.t. the combination of position & orientation differences.

The kdl plugin reads a ros parameter "epsilon" that allows to set the tolerance during startup. TracIK does not export its epsilon as a parameter, but I'm sure they would welcome a pull-request to change that though.

As jrgnicho already proposed you could use the low-level functions of KDL/TracIK where you can pass in tolerance as a parameter.

-- Addition --

Please be aware that there is a fundamental difference between Goal*Tolerance for MoveGroup requests and epsilon/tolerance values for IK requests. MoveIt samples from the regions specified by the former and passes the sampled poses to the IK plugin to generate goal poses for planning. The latter are directly passed to the IK plugin.