How to consider tools' spheres while attaching objects to robot? #361
Replies: 2 comments 1 reply
-
Yes, the assumption is that the link to attach spheres should not contain any geometry. You can create an additional frame for your robot like how it's done in In addition to creating the link, you also need to initialize spheres for the link like here: |
Beta Was this translation helpful? Give feedback.
-
Another problem i meet is that when i use The related code is listed below:
Here, the obs_package_grasp is the name of Cuboid defined by: I also find the “attached_object” spheres in robot cfg seems no change before and after attaching because i print motion_gen.robot_cfg, like this:
I think after attaching, the motion_gen should change, but i don't find how to write a new config (robot with attached object), could you tell me the write function? If i write a new yaml file, and pass it to the UsdHelper.write_trajectory_animation_with_robot_usd(), maybe it works?
|
Beta Was this translation helpful? Give feedback.
-
Hello, when i use the function "attach_object_to_robot()"
I note that the statements about the parameter "link_name" is: Name of the link (frame) to attach the objects to. The assumption is that this link does not have any geometry and all spheres of this link represent attached objects.
However, in my situation, there exists an tool attached to the UR10's ee_link (for example, a sponge suction cup used to draw something), is there any method to consider the tool's spheres in collision checker at the same time? In my practice, it seems when i attach the object to the tool link, then only spheres of the attached object will be consider and the tool's original spheres will disapear.
Beta Was this translation helpful? Give feedback.
All reactions