Search found 5 matches
- Tue Mar 31, 2020 10:35 pm
- Forum: OpenSim
- Topic: single 'Coordinate' - multiple 'SpatialTransform' DoFs during Inverse Dynamics
- Replies: 0
- Views: 181
single 'Coordinate' - multiple 'SpatialTransform' DoFs during Inverse Dynamics
I am trying to figure out how CustomJoint Coordinates and SpatialTransform work during Inverse Dynamics. I understand if only 1 SpatialTransform DOF (either rotation or translation) is dependent on a given coordinate, the ID result will be either moment or force, with the header named as coordinate_...
- Tue Dec 18, 2018 10:43 pm
- Forum: OpenSim
- Topic: Matlab API - 'model.setStateVariableValue()' unable to find coordinate name
- Replies: 4
- Views: 423
Re: Matlab API - 'model.setStateVariableValue()' unable to find coordinate name
Thank you Thomas! In addtion to my previous post on Matlab crash, I found that it was caused by 'InverseDynamicsTool.run()'. It seems after 'InverseDynamicsTool.run()', calling any OpeSim API (e.g. 'model.setStateVariableValue()', 'model.equilibrateMuscles(state)', etc) would result in a Matlab cras...
- Sun Dec 09, 2018 4:35 pm
- Forum: OpenSim
- Topic: Matlab API - 'model.setStateVariableValue()' unable to find coordinate name
- Replies: 4
- Views: 423
Re: Matlab API - 'model.setStateVariableValue()' unable to find coordinate name
Use getStateVariableNames() to see the new names of state variables. It'll be something like `/jointset/pelvis_ground/pelvis_tx/value`. Thank you for your reply. However, the return of the getStateVariableNames() is something like, 'org.opensim.modeling.ArrayStr@5bbc9f97', which also did not work. ...
- Thu Dec 06, 2018 5:46 pm
- Forum: OpenSim
- Topic: Matlab API - 'model.setStateVariableValue()' unable to find coordinate name
- Replies: 4
- Views: 423
Matlab API - 'model.setStateVariableValue()' unable to find coordinate name
I found 'model.setStateVariable()' was updated to 'model.setStateVariableValue()' in OpenSim API 4.0. However, I had the following error when trying to use 'model.setStateVariableValue()', while same setup worked for previous version 'model.setStateVariable()'. I am wondering if the newer version ha...
- Sun Aug 19, 2018 10:16 am
- Forum: Upper-limb musculoskeletal model for evaluating shoulder muscle and joint force
- Topic: Elbow muscles
- Replies: 1
- Views: 327
Re: Elbow muscles
Hi Romain,
Sorry I did not include the elbow muscles, but maybe you could get the elbow muscle paths and parameters from Holzbaur's model (https://simtk-confluence.stanford.edu/d ... mity+Model).
Regards,
Wen
Sorry I did not include the elbow muscles, but maybe you could get the elbow muscle paths and parameters from Holzbaur's model (https://simtk-confluence.stanford.edu/d ... mity+Model).
Regards,
Wen