moveit2 icon indicating copy to clipboard operation
moveit2 copied to clipboard

Dual arm planning error with IKConstraintSampler

Open ravnicas opened this issue 2 years ago • 1 comments

Description

Setting pose for two endeffectors in a dual arm setup returns "IKConstraintSampler received dirty robot state, but valid transforms are required. Failing."

Behaviour analogous to moveit

Your environment

  • ROS Distro: Galactic binary install
  • OS Version: e.g. Ubuntu 20.04
  • Source or Binary build? source
  • If source, which branch? main -> tags 2.3.0 and 2.4.0

Steps to reproduce

clone https://github.com/ravnicas/dual_panda_bringup in your workspace, build it repo should include all necessary files, meshes etc.

start robots ros2 launch dual_panda_bringup dual_panda.launch.py

start planning example ros2 launch dual_panda_bringup planning_test.launch.py

Expected behaviour

Both robots should be set to an endeffector pose via:

move_group.setPoseTarget(target_pose1, "panda_left_link8");
move_group.setPoseTarget(target_pose2, "panda_right_link8");

This should call the selected IK solver, etc..

Actual behaviour

On moveit2 tag 2.3.0: Robots move to the desired poses

On moveit2 tag 2.4.0 Only single robots behave as desired, compound groups of two (or more) robots throw an error: IKConstraintSampler received dirty robot state, but valid transforms are required. Failing.

ravnicas avatar Mar 28 '22 10:03 ravnicas

The work done by @cambel in moveit also applies here.

ravnicas avatar Apr 30 '22 00:04 ravnicas

see issue #3119

ravnicas avatar Sep 02 '22 09:09 ravnicas