Toggle navigation
Projects
People
Projects
Project categories
Biological applications
Cardiovascular system
Cell
Myosin
Neuromuscular system
Protein
RNA
Tissue
Biocomputational focus
Experimental analysis
Image processing
Network modeling and analysis
Physics-based simulation
Statistical analysis
Visualization
Communities
OpenSim
Shoulder Modeling
SimVascular
IMAG/MSM Consortium
IMAG-MSM Public Dissemination...
Biomechanics of Movement
All Communities
About Communities
Request Community
See all projects
Create a new project
About
What is SimTK?
Features
FAQ
Contact
Sign Up
Log In
OpenSim
Share
Follow 
Project
Follow publicly
Follow privately
Unfollow
See followers (304)
List
Map
More info
91
About
Project summary
Project statistics
Downloads Summary
Project Activity Plots
Geography of Use
Forum Statistics
Publications
Team members
Downloads
Documents
Forums
Source Code
Issues
View trackers
Bugs
Bugs tracker
Submit new
Follow
Features
Features tracker
Submit new
Follow
Suggested Ideas
Suggested Ideas tracker
Submit new
Follow
News
About
Project summary
Project statistics
Downloads Summary
Project Activity Plots
Geography of Use
Forum Statistics
Publications
Team members
Downloads
Documents
Forums
Source Code
Issues
View trackers
Bugs
Bugs tracker
Submit new
Follow
Features
Features tracker
Submit new
Follow
Suggested Ideas
Suggested Ideas tracker
Submit new
Follow
News
Trackers
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.
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.
Comments
Attachments
Changes
Add A Comment:
No Comments Have Been Posted
No Changes Have Been Made to This Item
#FDF8E1 @light_yellow
#F75236 @red
#F5B563 @orange
#81A5D4 @light_blue
#5E96E1 @dark_blue
#505050 @dark_grey
#000000 @black
#A7A7A7 @light_grey
Feedback