Search found 14 matches

by Mike Spahr
Mon Sep 06, 2021 9:22 am
Forum: OpenSim
Topic: Static Optimization with new Muscle Model
Replies: 2
Views: 318

Re: Static Optimization with new Muscle Model

During a deeper investigation of the problem, I came across the following error: - I build the debug version of OpenSim from Scratch (latest master and the included muscle model) - when I set up a Static Optimization with the AnalyzeTool and the cpp API, this error message occurs: Assertion failed: ...
by Mike Spahr
Fri Sep 03, 2021 9:18 am
Forum: OpenSim
Topic: Static Optimization with new Muscle Model
Replies: 2
Views: 318

Static Optimization with new Muscle Model

Hello OpenSim Team, we developed a new muscle model where the activation is not a State variable anymore but depending on the normalized Calcium concentration. After finishing this model, we tested it with some forward simulation. (Just simple excitation of the muscle) This forward simulation worked...
by Mike Spahr
Mon Jul 26, 2021 5:50 am
Forum: OpenSim
Topic: Different SO results from OpenSim 4.2 GUI and API
Replies: 3
Views: 443

Re: Different SO results from OpenSim 4.2 GUI and API

Hello Rahid, thanks for sharing your code it solved a similar problem with my Static Optimization code. In my Matlab API it generates a opensim.log file in the folder, from which I run the first OpenSim matlab script. This log file is then used, even if you execute another matlab OpenSim script loca...
by Mike Spahr
Mon Jul 26, 2021 4:42 am
Forum: OpenSim
Topic: External loads in forward dynamic batch processes
Replies: 5
Views: 1042

Re: External loads in forward dynamic batch processes

Hello Samuele, many thanks for the detailed answer. I'm sorry, I didn't specify my problem accurately. I was trying to regenerate the results from Nejads et al.'s paper "The Capacity of Generic Musculoskeletal Simulations to Predict Knee Joint Loading Using the CAMS-Knee Datasets" https://link.sprin...
by Mike Spahr
Tue Jul 20, 2021 1:50 am
Forum: OpenSim
Topic: External loads in forward dynamic batch processes
Replies: 5
Views: 1042

Re: External loads in forward dynamic batch processes

Hello Samuele,

did you find a solution for your problem yet? I'm currently struggeling with a similar issue regarding the AnalyzeTool and how to set additional force set files via Matlab.

Best,
Mike
by Mike Spahr
Wed Jun 30, 2021 5:17 am
Forum: OpenSim
Topic: Plugin which changes existing OpenSim files
Replies: 0
Views: 214

Plugin which changes existing OpenSim files

Hello, thanks again for solving my last issue regarding a new muscle model plugin. Additionaly I try to generate a new wrapping algorithm, which was introduced by Hammer et al 2020 https://www.sciencedirect.com/science/article/abs/pii/S0025556418302542. I succeded to implement the algorithm in a sel...
by Mike Spahr
Tue Jun 29, 2021 12:00 am
Forum: OpenSim
Topic: OpenSim 4.2 Build Info for creating Plugins
Replies: 6
Views: 392

Re: OpenSim 4.2 Build Info for creating Plugins

Hello Ayman,

thanks a lot for clarifiying this to me. I will try your suggested solution.

Best,
Mike
by Mike Spahr
Sun Jun 20, 2021 2:32 am
Forum: OpenSim
Topic: OpenSim 4.2 Build Info for creating Plugins
Replies: 6
Views: 392

Re: OpenSim 4.2 Build Info for creating Plugins

Hi Ayman, thank you for your reply. Currently I'm trying to generate the plugin for the official released OpenSim 4.2 version. In the cmake gui I specify the spdlog_DIR variable to C:/OpenSim 4.2/sdk/spdlog/lib/spdlog/cmake . I still have several version of OpenSim (4.1 and self-build ones on my mac...
by Mike Spahr
Fri Jun 18, 2021 7:24 am
Forum: OpenSim
Topic: OpenSim 4.2 Build Info for creating Plugins
Replies: 6
Views: 392

Re: OpenSim 4.2 Build Info for creating Plugins

Thanks a lot for the answer. You are right, I selected the wrong mode. After building my plugin in Release mode I reduced the linker errors by half. Still I have another linker error telling me I have unresolved external symbols: Severity Code Description Project File Line Suppression State Error LN...
by Mike Spahr
Thu Jun 17, 2021 9:02 am
Forum: OpenSim
Topic: OpenSim 4.2 Build Info for creating Plugins
Replies: 6
Views: 392

OpenSim 4.2 Build Info for creating Plugins

Hello, I'm trying to create a User plugin for OpenSim 4.2 for a new muscle model following this guideline: https://simtk-confluence.stanford.edu/display/OpenSim/Using+Plugins When I'm using Visual Studio 15 2017 with cmake to generate the project, the All Build stage stops in the Linker phase with t...