Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 152

Xacros, macros and using properties for moveit with the Universal Robots

$
0
0
Hello all, **Background/Context:** I am in the process of writing a xacro file that calls x2 URs. A UR10 and a UR5, each with different end effectors on them. My ideal goal is to control both arms with Moveit and have them move at the same time as well as plan paths that will not result in collisions with each other. The end-effectors on these robots will be working within close proximity together on a process. So collision avoidance will be important. From what I've read and understood, moveit will only be able to plan for two manipulators if they are tied to the same "robot". I can't have two instances of moveit running and have them plan with respect to each other, so I am trying to import both arms into a global frame as a single arm. I am able to build the xacro and use check_urdf to build the link trees and verify they look correct from the world frame, to each parallel arm and their respective manipulators. **My main issue:** When I try and use the MoveIt setup assistant, I see this preview. As you can see the UR5(the one on the left) is being stretched out to the link lengths of the UR10. ![image description](/upfiles/14789000765570057.png) When I swap their import order in the high level xacro file I see: ![image description](/upfiles/1478900774177351.png) As you can see, the UR10 (right again) is now crunched up to have the link lengths of the UR5. I am importing these URDF xacro models FROM Universal Robot's ROS package. Namely these two files: I think that there is some sort of inheritance issue due to the usage of the property tag in the XMLs: From the UR5 urdf: and the UR10: I have already tried to hardcode these values as such: and it is still wonky. HELP! I'm losing my mind trying to figure out how to get this odd inheritance parameter issue sorted out!

Viewing all articles
Browse latest Browse all 152

Trending Articles