You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the plan or the compute_cartesian_path method of a moveit_commander.MoveGroupCommander object, I get the following error:
Pose frame 'ur5_robot/wrist_3_link' does not exist.
To add more context, I work with a model containing links that can be prefixed (eg ur5_robot/wrist_3_link instead of wrist_3_link).
This error arises when calling the plan method using a PoseStamped or compute_cartesian_path, in both cases after changing the end effector of the MoveGroupCommander (using set_end_effector_link) to a link within the group chain that is not the tip link.
I eventually tracked down what was responsible for that, and it has been brought by PR #2918 and #3388.
This first check is triggered when the end effector has been modified and now calls getRigidlyConnectedParentLinkModel, and fails in here as ur5_robot/wrist_3_link is assumed to be a subframe.
What would be the best way of updating this to be able to work with prefixed frames, without having them considered as subframes?
Slashes are considered by MoveIt as a subframe separator. Thus, just use link names w/o slashes. Hence, you should use another last character for your prefix, e.g. replacing / with \ or :.
Description
When using the
plan
or thecompute_cartesian_path
method of amoveit_commander.MoveGroupCommander
object, I get the following error:Pose frame 'ur5_robot/wrist_3_link' does not exist.
To add more context, I work with a model containing links that can be prefixed (eg
ur5_robot/wrist_3_link
instead ofwrist_3_link
).This error arises when calling the
plan
method using a PoseStamped orcompute_cartesian_path
, in both cases after changing the end effector of theMoveGroupCommander
(usingset_end_effector_link
) to a link within the group chain that is not the tip link.I eventually tracked down what was responsible for that, and it has been brought by PR #2918 and #3388.
This first check is triggered when the end effector has been modified and now calls
getRigidlyConnectedParentLinkModel
, and fails in here asur5_robot/wrist_3_link
is assumed to be a subframe.What would be the best way of updating this to be able to work with prefixed frames, without having them considered as subframes?
Your environment
Steps to reproduce
ur5_robot/wrist_3_link
instead ofwrist_3_link
)moveit_commander.MoveGroupCommander
using a specific move groupmoveit_commander.MoveGroupCommander
to a different link than the tip link of the group chainplan
method with a PoseStamped or thecompute_cartesian_path
methodExpected behaviour
The methods should execute smoothly and consider the prefixed link as a standard link
Actual behaviour
The methods fail, throwing
Pose frame 'ur5_robot/wrist_3_link' does not exist.
(When 'ur5_robot/wrist_3_link' has been selected as the end effector, through the
set_end_effector_link
link method)The text was updated successfully, but these errors were encountered: