-
Notifications
You must be signed in to change notification settings - Fork 238
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
Adding tf_prefix and prefix #924
Comments
Hey @fmauch, I just saw that the ur_moveit.launch.py file needs to have 'tf_prefix' instead of 'prefix' while loading the urdf. Now I am able to loading the model in the MoveIt Rviz window, but there are errors with the move group name. Here is the detailed log file -
I have to mount the UR5e on top of a mobile base, hence I need to change the link names. Thanks! |
This might not yet be fully supported with |
Hey @RobertWilbrandt,
Now the package is working properly on real robot but not in Gazebo because of the world tag reference in Gazebo. Do you know any way out of this? Thanks! |
Are you talking about this |
Yeah that was one of the problems. This same thing also occurs in the ur_moveit.launch.py file. Regarding the world reference, if I remove the world link and make the mobile base link as the parent, the ur_moveit.launch.py terminal keeps throwing this error and I can't see the interactive marker -
The message only stops when I do Ctrl+C. If I insert the world link, but keep the mobile base link as the parent, the interactive marker shows up, but it is very buggy. |
I don't yet understand why you are not able to see the interactive marker. Does your SRDF group For your second problem: Did you update your collision matrix using moveit setup assistant (either the GUI or |
The srdf has the correct joints. The only difference I made between the screenshot and the video in the previous post is the addition of world link. One possible explanation I can think of is that since the world frame is absent and moveit rviz window has world as the global fixed frame (it crashes if I change the global fixed frame), it fails to display the interactive marker. The second problem: I have updated the collision matrix from the setup assistant GUI. It shows the red warning if I try to collide the arm with the base (verifying the collision matrix setup). I have kept the default values for sampling density and min. collisions. Do I need to change anything there? |
Using a link that does not exist as rviz fixed frame will definitely lead to problems. Does rviz give you any additional output when it crashes? You should not have to change any settings in the collision updater. Is the behavior still the same after updating the srdf? |
It gives this log when I change the fixed frame, Rviz freezes and then crashes in 5-10 seconds -
The behaviour is still the same. I had updated the collision matrix while setting up MoveIt itself. I retried it with a fresh setup assistant, but the same output. |
At this point its getting kind of hard for me to follow - Can you verify that your other config files ( |
You can also checkout the GitHub repo for clarifications. Additionally, I also cloned the gazebo simulation repo and made the same changes, but the interactive marker is working fine there. So I am really confused why the interactive marker isn't working with the mobile base. |
Sorry for the late response. At this point i am no longer sure what else to try, seeing that the tf tree looks correct for you and the SRDF also works this probably has some reason outside of this driver. We'll try fixing the handling of tf prefixes in all driver components. Please let us know if you find out what the problem in your setup is. |
Affected ROS2 Driver version(s)
2.4.2
Used ROS distribution.
Humble
Which combination of platform is the ROS driver running on.
Ubuntu Linux with standard kernel
How is the UR ROS2 Driver installed.
From binary packets
Which robot platform is the driver connected to.
UR E-series robot
Robot SW / URSim version(s)
5.12.0 / 5.12.2 / 5.14.6
How is the ROS driver used.
Through the robot teach pendant using External Control URCap
Issue details
Summary
How to add prefix to control the ur5e through MoveIt2
Issue details
I am assembling ur5e on a mobile base. So I need to change the prefixes in order to use it. I have added the tf_prefix in the robot driver launch file -
I am able to see the tf_prefix in the tf_tree
But when I run the moveit launch file -
I get the following error -
How do I add the prefixes so that the moveit file runs smoothly.
Also, I saw in the ur_control launch file that the joint names in the configuration also need to be updated. Which yaml file needs to be updated in this case?
The ur_controllers file already uses a tf_prefix, how do I assign the tf_prefix there?
Steps to Reproduce
Expected Behavior
What did you expect and why?
Actual Behavior
What did you observe? If possible please attach relevant information.
Workaround Suggestion
If a workaround has been found, you are welcome to share it.
Relevant log output
Accept Public visibility
The text was updated successfully, but these errors were encountered: