Share 
Follow 
AboutDownloadsDocumentsForumsSource CodeIssuesNews
Date:
2021-06-02 18:52
Priority:
3
State:
Open
Submitted by:
Evan Dooley (edooley)
Assigned to:
Nobody (None)
Summary:
getRotationInGround command in Matlab returning non-Matlab object type

Detailed description
Using the method "getRotationInGround" command on the object type "Body" returns an object of type "SWIGTYPE_p_SimTK__Rotation_T_SimTK__Real_t". Then there is no way to convert this to a Vec3 or Matlab Array to actually get to the information contained in the object.

Using the "getPositionInGround" command on the object type "Body" returns a Vec3 object that can then be converted to a Matlab array easily.

When I asked how to get the rotation of the body object in Matlab I was given a work around (thanks Ayman), and asked to submit this as a bug. He said "The tools we use to expose the C++ methods to Matlab appear to be have missed this call (likely due to missing a Template expansion). "

Thanks for your help and attention.

Add A Comment: Notepad

No Comments Have Been Posted

No Changes Have Been Made to This Item

Feedback