Rhoban / onshape-to-robot

Converting OnShape assembly to robot definition (SDF or URDF) through OnShape API
MIT License
237 stars 55 forks source link

Retrieval of current joint states #116

Open Gregwar opened 8 months ago

Gregwar commented 8 months ago

Onshape-to-robot don't retrieve the current joint states, i.e f OnShape joint states are different from the "zero" position (around which the limits are defined). As a result, the joint limits are supposed to be around the configuration of the robot during the import, which might be inconsistent with OnShape joint limits.


The current joint states might be available through the following endpoints:

/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/matevalues

But it is not. This is a known bug and a support ticked is opened.