Hi, I would like to do pick-and-place experiments with various objects with robot-arms at the Isaac Gym.
I am still using Isaac Gym Preview 2.
The URDF loading behavior is different between without the GPU pipeline (1st image) and with it (2nd image). Of course, they read the same URDF file.
Perhaps the value set as the inertial origin is also read as the collision origin. However, the collision meshes are rendered by its original origin (3rd image).
The following is my URDF file. It is a 0.12 m high rectangular object. Its bottom is a square of 0.02 m per side. And the origin is at the bottom, so the center of gravity set at z=0.06.
I know I can easily create boxes with “gym.create_box”, but I want to create a variety of objects in Blender, so I use URDF.
<?xml version="1.0"?>
<robot name="cuboid">
<link name="cuboid">
<visual>
<origin xyz="0 0 0" />
<geometry>
<mesh filename="../meshes/visual/cuboid.dae" />
</geometry>
</visual>
<collision>
<origin xyz="0 0 0" />
<geometry>
<mesh filename="../meshes/collision/cuboid.obj" />
</geometry>
</collision>
<inertial>
<mass value="1.0" />
<origin xyz="0 0 0.06" rpy="0 0 0"/>
<inertia ixx="0.002" ixy="0.0" ixz="0.0" iyy="0.002" iyz="0.0" izz="0.001" />
</inertial>
</link>
</robot>
Are the developers aware of this behavior?
If this was a bug and fixed in Preview 3, please tell me.
Thank you for your answer.
sim_params.use_gpu_pipeline = False
sim_params.use_gpu_pipeline = True