Skip to content

Conversation

@cambel
Copy link

@cambel cambel commented Sep 20, 2021

Related to MoveIt draft PR #2810
Adding the group_name to the RobotTrajectories to keep track of them during simultaneous execution of multiple trajectories from different groups.

@v4hn
Copy link
Contributor

v4hn commented Sep 20, 2021

why don't you just collect the set of joints specified in the joint trajectory method?
I would prefer to get further away from the requirement to specify joint model groups everywhere in MoveIt and this somewhat counteracts the effort...
Also, you still have to consider overlapping JMGs during checking, so I don't see the advantage of having the string here. 😕

@felixvd
Copy link
Contributor

felixvd commented Sep 20, 2021

That might be better discussed in the original PR, but in a nutshell, we did it this way because when we check for collisions between the two trajectories here, we need to give the group_name to the PlanningScene's isPathValid in order to limit the collision checking to that group. That API continues via isStateColliding and checkCollision all the way to the CollisionRequest in collision_common.h, which does not accept a set of joints. Opening that up is definitely out of scope for this PR.

Copy link
Contributor

@felixvd felixvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpicking

@v4hn
Copy link
Contributor

v4hn commented Sep 20, 2021 via email

@cambel cambel force-pushed the add-group-name-tem branch from 2e9522a to e181beb Compare December 2, 2022 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants