UR3 COLLADA DAE mesh conversion issue

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
Orangefriend
Posts: 1
Joined: Thu Dec 07, 2017 6:15 am

UR3 COLLADA DAE mesh conversion issue

Post by Orangefriend » Thu Dec 07, 2017 6:45 am

Hello everyone,
I am following pubullet quick start guide: https://docs.google.com/document/d/10sX ... VUA/edit# , and I met some issues with complex robot model (with collada meshes).

My issue is:
I have ur3 parts wrongly oriented in pybullet GUI.

I do:
1.Generate ur3_robot.urdf from ur3_robot.urdf.xacro with ROS xacro tool

2.Transform base.dae,...,wrist3.dae to base.obj,..,wrist3.obj with this converter http://www.greentoken.de/onlineconv/ or that one http://www.meshconvert.com/

3.Edit ur3_robot.urdf to use new meshes files (.obj) and open it with

Code: Select all

pybullet.loadURDF(/path/to/urdf,position,orientation)
4.What I have is in the attached image. So, what am I doing wrong?
And where are any colours?)
Attachments
Screenshot from 2017-12-06 17-53-36.png
Screenshot from 2017-12-06 17-53-36.png (172.35 KiB) Viewed 407 times

User avatar
Erwin Coumans
Site Admin
Posts: 4113
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: Pybullet Quickstart Guide and other resources

Post by Erwin Coumans » Thu Dec 07, 2017 7:07 am

It is likely some up-axis (Y versus Z) issue with COLLADA DAE files. Try rotating them around the x-axis for 90 degrees (+ or -), when converting them to OBJ.

If you share the URL to the UR3 with DAE files, someone may be able to help.

Please submit a new issue next time (don't reply with a new issue). I manually split the topic for now.

Post Reply