Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion regarding moveit planning_frame #669

Open
faev999 opened this issue Oct 31, 2023 · 0 comments
Open

Confusion regarding moveit planning_frame #669

faev999 opened this issue Oct 31, 2023 · 0 comments

Comments

@faev999
Copy link

faev999 commented Oct 31, 2023

Hi all,
I am using the moveit packages (with no modifications) provided by this repository in order to plan Cartesian trajectories for an ur10e robot. While planning and executing the movement, I noticed weird movements where the robot didn't seem to move as expected. I noticed that getPlanningFrame returns base_link when I would expect base given that echo /tf returns tool0 with respect to base and this matches what I see on the teach pendant. base_link is rotated 180° around the Z axis and this is the source of the problem. I also noticed the existence of base_link_inertia, which is rotated 180° around the Z axis with respect to base_link (thus matching base ); so the first question is what are the differences between this frames and when am I suppose to use each of them? in order to fix my problem I used self.group.set_pose_reference_frame("base")which actually works but then using current_pose = self.group.get_current_pose().pose returns a pose with respect to base_link. is there a way to fix this using the moveit API? or do I have to modify/add a file somewhere? any help is much appreciated.

Edit: I forgot to mention that I am using the melodic_devel branch and Universal_Robots_ROS_Driver

@faev999 faev999 changed the title Confusion regarding moveit panning_frame Confusion regarding moveit planning_frame Oct 31, 2023
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

No branches or pull requests

1 participant