Closed cpaxton closed 7 years ago
Correction: I can actually load the robot itself, but not the Collada DAE meshes.
These are from: https://github.com/ros-industrial/universal_robot
Collada DAE is an extremely complicated format and Bullet only supports a very simple subset of DAE. It would be best to convert it into Wavefront .obj or STL files. Do you have a pointer to the URDF+DAE files?
Here's an example mesh: https://github.com/ros-industrial/universal_robot/blob/kinetic-devel/ur_description/meshes/ur5/visual/wrist1.dae
The collision meshes -- STLs -- all seem to load just fine.
And here's an URDF loading these meshes: ur5_robot.urdf.txt
If I find some time, I can check if we can fix the DAE importer to accept those meshes. Otherwise, we could just use Blender to convert those DAE to .obj, that should work fine.
Is there a way to render joint locations easily such as with a triad? We are trying to add constraints for the gripper that goes with this arm and visualization would be helpful
Assuming you use pybullet, and pybullet.connect(pybullet.GUI), you can press 'w' for wireframe and press 'k' and 'l' (lower case L) to render joint frames/limits.
The COLLADA DAE file uses polylist, while Bullet only supports triangulated models (
Sounds good. OBJ conversion works for me.
Hoping to use this with the UR5. Unfortunately I'm having trouble getting the robot to load, and to appear in a GUI.