Search found 1804 matches

by Thomas Uchida
Mon Feb 10, 2025 5:17 am
Forum: OpenSim
Topic: Initializing a model's instance
Replies: 2
Views: 297

Re: Initializing a model's instance

To confirm that OpenSim works at all, you could try just creating a new model ("Model osimModel;"). If that works, the issue may be that Arm26.osim is in the wrong directory; you could try including the full path or copying the file into the directory containing the executable. Using a try/catch blo...
by Thomas Uchida
Thu Jan 30, 2025 7:06 am
Forum: OpenSim
Topic: Read/write mesh file
Replies: 4
Views: 815

Re: Read/write mesh file

OpenSim isn't designed for editing meshes; there are other tools for doing that (e.g., MeshLab, ParaView). OpenSim Creator's Mesh Warper (https://docs.opensimcreator.com/manual/ ... /tut5.html) might be of interest as well.
by Thomas Uchida
Sun Jan 19, 2025 10:13 am
Forum: OpenSim
Topic: OpenSIM Tutor
Replies: 1
Views: 34153

Re: OpenSIM Tutor

This forum is for OpenSim (https://opensim.stanford.edu/). I think you're looking for OpenSimulator (http://opensimulator.org/wiki/Main_Page); it looks like they have a support page here: http://opensimulator.org/wiki/Support.
by Thomas Uchida
Sun Jan 19, 2025 10:08 am
Forum: OpenSim
Topic: Read/write mesh file
Replies: 4
Views: 815

Re: Read/write mesh file

The implementation for loading mesh files can be found in Simbody (PolygonalMesh.cpp L242: https://github.com/simbody/simbody/blob/f16651cbf52695442159202099971b4fc4f5d3bd/SimTKcommon/Geometry/src/PolygonalMesh.cpp#L242 ). The doxygen can be found here: https://simtk.org/api_docs/simbody/3.5/classSi...
by Thomas Uchida
Fri Jan 10, 2025 10:25 am
Forum: OpenSim
Topic: Static optimization failed
Replies: 1
Views: 980

Re: Static optimization failed

The muscles or residual/reserve actuators may be too weak, or there might be noise in the data. Please see the "Troubleshooting" section of the "Getting Started with Static Optimization" page in the documentation for some possible solutions: https://opensimconfluence.atlassian.net/wiki/spaces/OpenSi...
by Thomas Uchida
Fri Jan 10, 2025 10:12 am
Forum: OpenSim
Topic: Missing Models Folder
Replies: 1
Views: 509

Re: Missing Models Folder

You can type "installResources()" at the prompt in the ScriptingShell window. If the ScriptingShell window is not already displayed, please see the instructions and images here: https://opensimconfluence.atlassian.net ... in+the+GUI.
by Thomas Uchida
Sun Dec 29, 2024 9:02 am
Forum: OpenSim
Topic: mouse model in OpenSim
Replies: 1
Views: 268

Re: mouse model in OpenSim

Perhaps try using the Scale Tool (https://opensimconfluence.atlassian.net ... Scale+Tool) with "manual scales" of 10. The Scale Tool will take care of scaling joint locations, muscle paths, etc.
by Thomas Uchida
Thu Dec 19, 2024 5:43 am
Forum: OpenSim
Topic: Help with simulation and muscle activation
Replies: 1
Views: 1055

Re: Help with simulation and muscle activation

How are the ground reaction forces being included in the simulation? It sounds like they were not measured and are not being provided.
by Thomas Uchida
Thu Dec 19, 2024 5:37 am
Forum: OpenSim
Topic: Discrepancy Between Calculated Muscle Forces and Static Optimization Results
Replies: 4
Views: 768

Re: Discrepancy Between Calculated Muscle Forces and Static Optimization Results

Are there any constraints in the model? If so, you should use coord.setValue(state, coord_value, False) and then call the assembler after the loop. Please see the comments in the documentation for the Coordinate::setValue() method here: https://simtk.org/api_docs/opensim/api_docs/classOpenSim_1_1Coo...
by Thomas Uchida
Sun Dec 15, 2024 4:40 pm
Forum: OpenSim
Topic: dynamic model
Replies: 1
Views: 271

Re: dynamic model

A quick way to remove components from a model is to edit the osim file in Notepad++. Alternatively, you may wish to explore OpenSim Creator (https://www.opensimcreator.com/).