Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Specify joints #3

Closed
GeorgyOstr opened this issue Jul 8, 2017 · 1 comment
Closed

Specify joints #3

GeorgyOstr opened this issue Jul 8, 2017 · 1 comment

Comments

@GeorgyOstr
Copy link

Hi, thanks a lot.
I have my model in blender now, and I can even export it from .wrl to .dae!

But all my joints seems to be independent and when I export I get one solid mesh instead
of robot with dependent joints.

So my question is: how to prepare the model to be exported in to right .dae.
How to specify all joints and constraints?

All joints in my model are going to be rotational, there should be some limits,
but that is kind of optional.

screenshot from 2017-07-08 19-11-14

@stephane-caron
Copy link
Owner

Yes, VRML meshes are always loaded as a single big rigid body. In your case, you should:

  • Export your meshes link by link: Link1.wrl, Link2.wrl, etc.
  • Load each of these meshes from a robot spec written in OpenRAVE XML format, where you can also specify your joints, joint limits, etc.
  • Load your robot's XML from an openravepy.Environment object.

Happy rendering ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants