Search found 1096 matches

by Dimitar Stanev
Fri Oct 09, 2020 12:21 am
Forum: OpenSim
Topic: Matlab Script
Replies: 2
Views: 282

Re: Matlab Script

Hi Rohan,

You can find some implementations for Matlab in the MOtoNMS project:

https://github.com/RehabEngGroup/MOtoNM ... ng/private
by Dimitar Stanev
Fri Oct 09, 2020 12:16 am
Forum: OpenSim
Topic: SO failed and RRA error
Replies: 4
Views: 659

Re: SO failed and RRA error

Hi Amber, I think you should try to solve the RRA problem first. Please, try increasing the tracking gains that were provided to the tool, so that the model does not fall. Also, before doing RRA it is advised to run inverse dynamics and check the residuals at the pelvis. If the pelvis forces and mom...
by Dimitar Stanev
Mon Sep 21, 2020 11:59 pm
Forum: OpenSim
Topic: Is it possible to use someone else's MOCAP data?
Replies: 3
Views: 287

Re: Is it possible to use someone else's MOCAP data?

I do not think that using the GRF file of another subject with different weight and height would work. You can give it a try, but I expect that if you run ID and check the residuals at the pelvis they would be high. On the other hand, if you do not have a complete data set, you can use this approach...
by Dimitar Stanev
Mon Sep 21, 2020 7:37 am
Forum: OpenSim
Topic: Is it possible to use someone else's MOCAP data?
Replies: 3
Views: 287

Re: Is it possible to use someone else's MOCAP data?

Hi Yunus, 1. Yes, it is possible. You can perform generic scaling using OpenSim and the static pose or create a personalized musculoskeletal model from MRI (NMSBuilder). The latter requires a lot of manual effort and more measurements (e.g., MRI). Once you perform the analysis in OpenSim, you can al...
by Dimitar Stanev
Mon Sep 21, 2020 7:21 am
Forum: OpenSim
Topic: Muscle example error
Replies: 3
Views: 210

Re: Muscle example error

Hi Rahid,

Please make sure that OpenSim's bin directory containing the dynamic libraries (.dll) is included in the Windows' PATH variable. You can use Rapid Environmental Editor in Windows to easily change the PATH variable.
by Dimitar Stanev
Mon Sep 14, 2020 2:45 am
Forum: OpenSim
Topic: Time error when using filter coordinates (Analyse tool)
Replies: 2
Views: 206

Re: Time error when using filter coordinates (Analyse tool)

Hi Yanran, This is because if you want to calculate high order derivatives for t = 0 using finite difference the internal calculations need at least two more points before and after t = 0. If you want to start at t = 0 then you initial time could be something like t = 0.02. Please note that if you f...
by Dimitar Stanev
Mon Sep 14, 2020 2:40 am
Forum: OpenSim
Topic: Force Line
Replies: 1
Views: 139

Re: Force Line

Hi,

I am not sure if we are referring to the same thing. There is an OpenSim plugin that probably does what you need:

https://simtk.org/projects/force_direction

I know that the developer is working on making the source code public and a working version for OpenSim v4.1.
by Dimitar Stanev
Sat Sep 12, 2020 12:41 pm
Forum: OpenSim
Topic: Eamplemain dll files missing
Replies: 4
Views: 211

Re: Eamplemain dll files missing

Dynamic libraries (.dll) should be located by the application at runtime. In order to locate those files you should append the absolute path to the environmental variable PATH of the operating system, in case that they are not placed in system-wide directories like system32. You can do this through ...
by Dimitar Stanev
Sat Sep 12, 2020 6:15 am
Forum: OpenSim
Topic: Eamplemain dll files missing
Replies: 4
Views: 211

Re: Eamplemain dll files missing

Hi Rahid,

You should append OpenSim's bin directory (e.g., C:\OpenSim 4.1\bin) into the system PATH variable. For convenience, you could use rapid environmental editor.
by Dimitar Stanev
Thu Sep 10, 2020 1:26 am
Forum: OpenSim
Topic: Error reading file with TRCFileAdapter in matlab
Replies: 3
Views: 234

Re: Error reading file with TRCFileAdapter in matlab

Hi Henry, Your approach seems OK and the API call is correct. I would try to create the TRCFileAdapter first, because it is a class object and then read the file. Maybe Matlab expects that TRCFileAdapter is constructed since classes expect an implicit "self" argument that must be passed to the const...