Search found 43 matches

by Musa Audu
Fri Apr 12, 2024 12:14 pm
Forum: OpenSim
Topic: MocoOutputTracking Goal Problems:
Replies: 2
Views: 267

Re: MocoOutputTracking Goal Problems:

Great. Thanks Nick. We do use the setOutputIndex() function to select the desired index of the vector to use for the foot position. We appreciate your insight and look forward to a future version that allows inclusion of dynamic stretching of the reference desired trajectory to match the current tim...
by Musa Audu
Fri Apr 12, 2024 8:09 am
Forum: OpenSim
Topic: MocoOutputTracking Goal Problems:
Replies: 2
Views: 267

MocoOutputTracking Goal Problems:

Hi, We have two questions that we hope someone can help us with: Q.1. We want to track the trajectory of a particular body segment (such as the toes) with MocoOutputTrackingGoal. We defined the output path for the body as: "FootGoal->setOutputPath("/bodyset/ltoes|position");". Is this the correct wa...
by Musa Audu
Fri Jul 29, 2022 2:56 pm
Forum: OpenSim
Topic: Controller Plugin crashes OpenSim
Replies: 0
Views: 166

Controller Plugin crashes OpenSim

I have a problem that started since OpenSim 4.2 and up to the current 4.4. I defined a muscle controller function and created a dll file as a plugin for it. In these versions of OpenSim, the GUI will only load the model files containing this controller if I add the file to a 'plugin' folder and put ...
by Musa Audu
Sat Apr 02, 2022 9:11 am
Forum: OpenSim
Topic: Building C++ code in Windows Visual Studio with OpenSim static libraries
Replies: 0
Views: 103

Building C++ code in Windows Visual Studio with OpenSim static libraries

Has anyone succeeded in building a Windows Visual Studio API application (C++) with OpenSim static libraries only? I have tried this in several ways with no success. I will appreciate any insight on how to do this if at all it is possible.
by Musa Audu
Sun Jul 25, 2021 3:39 pm
Forum: OpenSim
Topic: Plugin Error:
Replies: 5
Views: 729

Re: Plugin Error:

Thank you very much for that guidance. It works; after I have cleaned out my previous API installation and made a fresh installation with a more recent version. Apparently I must have been mixing versions of the API and GUI installations. Thank you.
by Musa Audu
Wed Jul 21, 2021 8:17 pm
Forum: OpenSim
Topic: Virtual IMUs with IMUPlacer:
Replies: 2
Views: 284

Re: Virtual IMUs with IMUPlacer:

Great, Thanks Ayman. I will get to that version and see how this works.
by Musa Audu
Tue Jul 20, 2021 7:11 pm
Forum: OpenSim
Topic: Virtual IMUs with IMUPlacer:
Replies: 2
Views: 284

Virtual IMUs with IMUPlacer:

I have two questions about IMUPlacer: 1. Is it possible to place virtual IMUs on a model? By this I mean specify an IMU at a given location and orientation on a given segment so it's output would simulate that of a real IMU when the segment moves? I want to study the impact of IMU placement and orie...
by Musa Audu
Tue Jul 20, 2021 1:51 pm
Forum: OpenSim
Topic: Plugin Error:
Replies: 5
Views: 729

Re: Plugin Error:

Thank you very much Ayman. I checked in Help->XML Browser and my MuscleController was not listed. But just to make sure, I also copied the two example folders 'AnalysisPluginExample' and 'BodyDragExample' to my desktop without changing a thing except adding a 'build' folder to each. I then created t...
by Musa Audu
Sun Jul 18, 2021 9:42 am
Forum: OpenSim
Topic: Plugin Error:
Replies: 5
Views: 729

Plugin Error:

I am having problem developing a plugin for OpenSim 4.2 to enable me open a model that has a newly defined muscle controller. I see that OpenSim 4.2 GUI was built using Visual Studio 16 2019-MSVC on Windows-x64. I created a folder with my MuscleController.cpp and MuscleController.h files containing ...
by Musa Audu
Fri May 28, 2021 1:04 pm
Forum: OpenSim
Topic: Integrator going beyond final time
Replies: 0
Views: 133

Integrator going beyond final time

Hi, I am running a simulation by integrating the model equations in OpenSim C++ API. I set the initial and final times; but the integrator threw an exception about being unable to proceed beyond the final time. Below is the simulation output in the command window: Loaded model StanceModel from file ...