Search found 25 matches
- Tue Oct 05, 2021 4:52 pm
- Forum: OpenSim Moco
- Topic: Tracking IK instead of states
- Replies: 9
- Views: 1145
Re: Tracking IK instead of states
Awesome! I have made a note and will give that function a try. For completeness, my simulation was not converging because I had the max/min forces on the controllers set way too low. I opened them up to -inf to +inf and Moco quickly converged to a reasonable solution. Thanks for the tips! Best, Evan
- Tue Oct 05, 2021 2:58 pm
- Forum: OpenSim Moco
- Topic: Tracking IK instead of states
- Replies: 9
- Views: 1145
Re: Tracking IK instead of states
Hello, I have not changed the joint definitions, but I think it is a model specific thing. I believe it is due to the subtalar joints still being locked in the model I was trying to simulate. Reading more on the forum this seems to cause various issues, so I tried unlocking these joints. After relea...
- Tue Oct 05, 2021 2:02 pm
- Forum: OpenSim Moco
- Topic: Tracking IK instead of states
- Replies: 9
- Views: 1145
Re: Tracking IK instead of states
Hi Grace, I also am working on setting up a MocoInverse problem and have been running into issues. I got a similar error you have shown trying to put this together. Error using MocoInverse_TorqueDrive_CoordTrack_v02 (line 109) Java exception occurred: java.lang.RuntimeException: SimTK Exception thro...
- Mon Sep 13, 2021 7:27 am
- Forum: OpenSim
- Topic: Contact Ellipsoid in Simbody but not Opensim?
- Replies: 1
- Views: 281
Contact Ellipsoid in Simbody but not Opensim?
Hello, I am trying to implement ellipsoids in a hunt-crossley contact model. This is said to be possible in the Sherman 2011 paper. Looking at the opensim doxygen there is no option for contact ellipsoid: https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1ContactGeometry.html https://simtk....
- Wed Jul 07, 2021 6:05 am
- Forum: OpenSim
- Topic: Enforce Foot Flat through Marker Adjustment in Scaling
- Replies: 1
- Views: 316
Enforce Foot Flat through Marker Adjustment in Scaling
Hello again, I am trying to make sure that when I scale my base model to the size of each subject and update the marker positions on the subject specific models, the feet stay flat on the floor. I am sure the feet are flat on the floor in the static position (being used for scaling) as we have video...
- Fri Jul 02, 2021 12:13 pm
- Forum: OpenSim
- Topic: Error occurs when attempting to add 6DoF joint between the foot and ground
- Replies: 2
- Views: 639
Re: Error occurs when attempting to add 6DoF joint between the foot and ground
Hello Ayman, Thanks so much. That's a great point. I was investigating the constraint methods available and can't seem to find a combination that results in reducing two rotational DoF between the foot and the ground. On doxygen ( https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1Constrain...
- Thu Jul 01, 2021 9:33 am
- Forum: OpenSim
- Topic: Error occurs when attempting to add 6DoF joint between the foot and ground
- Replies: 2
- Views: 639
Error occurs when attempting to add 6DoF joint between the foot and ground
Hello, I am working with the human model: FullBody_SimpleArms_Hamner2010, and I am trying to add a 6DoF joint between the each talus body and ground. I want the ankle joint to continue to exist as is. I want to use the "foot-to-floor" joint to ensure the foot is flat during scaling and output global...
- Wed Jun 02, 2021 2:20 pm
- Forum: OpenSim
- Topic: How to get orientation of body in Matlab?
- Replies: 2
- Views: 503
Re: How to get orientation of body in Matlab?
Hi Ayman, Thanks for the speedy response. I reported the bug and have tried your suggestion. % handle L x = HANDLE_L.getTransformInGround(start); y = x.R; handle_L_rot = y.convertRotationToBodyFixedXYZ(); This gives me the X,Y,Z rotation angles from ground to each body, which is great. I think I nee...
- Wed Jun 02, 2021 10:00 am
- Forum: OpenSim
- Topic: How to get orientation of body in Matlab?
- Replies: 2
- Views: 503
How to get orientation of body in Matlab?
Hello, I am trying to get the rotation of a body frame, either relative to the global frame, or to another body frame, using Matlab. I have been able to get the global positions of the bodies, and convert them to Matlab arrays, using this method: %% get global body position hand_L_pos = osimVec3ToAr...
- Thu May 27, 2021 5:13 am
- Forum: OpenSim
- Topic: Missing sockets when adding PointToPointSpring to ForceSet
- Replies: 2
- Views: 438
Re: Missing sockets when adding PointToPointSpring to ForceSet
Hello Ayman, I have tried to finalize the connections on the model and the force set: %% finalize connections model.finalizeConnections(); forceSet.finalizeFromProperties(); And I still get the same result when I print the file: %% Print file to use in RRA forceSet.print('checkForSockets.xml'); <Poi...