Rhoban / onshape-to-robot

Converting OnShape assembly to robot definition (SDF or URDF) through OnShape API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Origin changes on Assembly copy

ThomasPiechulek opened this issue · comments

Dear Onshape-Team,

I had a problem with your product.

In our project, we want to build a constrained model for machine learning.
To solve this, I copied the main assembly and adjusted the joint limits.

When exporting the assembly with onshape-to-robot, we experienced changes in the origins of the joint tag.
This lead to an erroneous behaviour in our simulation.

Specifically the <origin> tag within the <joint> tag changes.

Is this intended?
If yes, how can I avoid this behaviour?
If no, will you resolve this or is there a known work around?

Kind regards,
Thomas

Hello,

I am not sure to understand what your problem is exactly
Can you explain with more details?
Like what you expect compared to what you actually get ?

Joints should be located exactly where you see them in Onshape, as explained here:
https://onshape-to-robot.readthedocs.io/en/latest/design.html#joint-frames

Feel free to give me the assembly with problems, or a simple proof-of-concept reproducing your problem (gregoire.passault@u-bordeaux.fr)

PS: I am not related to the Onshape team, this is an independent project using Onshape API