ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

I have a two move_groups which do not form a kinematic chain. Can moveit plan a path for two different groups?

asked 2019-12-23 13:13:49 -0500

pochak gravatar image

updated 2022-01-22 16:10:13 -0500

Evgeny gravatar image

I have made it work in the following way:

  1. computeCartesianPath of group1 to get planned_path

  2. Manually (using a loop) push waypoints of joints in group2 to the joint_trajectory of the planned_path: loop{ planned_path.joint_trajectory.points[i].positions.push_back(waypoint[i])}

  3. then used computeTimeStamps (or retime_trajectory in python) to get the final planned_path

Is this the correct way to path for two different groups? Is there a better way which plans only once?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-28 02:33:36 -0500

fvd gravatar image

Another good method to plan a trajectory with two different robot entities is to include all the joints in the same move_group, e.g. both_arms, and to plan with it by defining multiple pose goals, for example.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-12-23 13:13:49 -0500

Seen: 162 times

Last updated: Feb 28 '20