Hi I try to add a gripper (robotiq 2f 85) to UR5e.
Both models are imported from URDF. I follow this post to add gripper to UR5e.
The problem is that I can’t control UR5e with gripper (gripper can’t be controlled, too), but I can control UR5e without gripper. Here is the USD of UR5e and gripper: ur5e_gripper.zip (3.3 MB)
Besides, the rendering of UR5e is strange (some black area is on the UR5e).
I did a quick test with the provided URDF and the joints can be controlled from the UI. Can you elaborate on how you are trying to control the robot? perhaps I can give more guidance then.
The gripper was imported correctly but because of the nature of the gripper and URDF not supporting cyclical joint loops, the urdf provides multiple joints per gripper finger. See second video:
Hi, I want to use python script to control UR5e through omni.isaac.dynamic_control
I try to write a python script: ctrl.py (2.4 KB)
I put this script to isaac-sim-2020.2.2007-linux-x86_64-release/python_samples and follow Getting Started to set up python environment.
Also, I add omni.isaac.dynamic_control to enabledBuiltin in experiences/isaac-sim-python.json.
When I execute the script, the UR5e shows up. But set_articulation_dof_position_targets doesn’t work for me.
I think the problem may be a warning: [Warning] [omni.isaac.dynamic_control.plugin] Articulation is not in a physics scene, some functionality is missing, make sure that a physics scene is present and simulation is running
I don’t know how to fix it. Could you please check it for me? Thanks!
Hi, My ur5e.usd already contained PhysicsScene. However, the warning still exists.
Could you download the script and usd files to check them for me? Thanks!
The articulation must be called while the simulation is running.
To do that, you can subscribe a callback to the editor step event and control the articulation there
I edited your code as shown below and its works for me 😅
I used the UR10 robot for that (because I don’t have the ur5e.usd asset). Also, you can remove some print statements
“Like rigid dynamic objects, articulations are also put into a sleep state if their energy falls below a certain threshold for a period of time. In general, all the points in the section Sleeping apply to articulations as well. The main difference is that articulations can only go to sleep if each individual articulation link fulfills the sleep criteria.”
Hi @toni.sm, thanks for your thoroughly explaining!
I modify my code as your suggestion ctrl.py (3.1 KB) .
I use ur10 for testing now, but I still can’t control it.
When I run my code, the step in editor_update keeps showing 0: