Search found 15 matches

by Xiangjie Meng
Mon Oct 26, 2015 10:30 pm
Forum: OpenSim
Topic: How to deceide Foor-floor contact parameters
Replies: 1
Views: 566

Re: How to deceide Foor-floor contact parameters

Hi,

Have your problem solved? I have met similar problems. It is pretty difficult to decide right parameter values. Sincerely hope you can give me some suggestions of solving this problems. My emal address is mengxjchina@gmail.com. Really looking forward to your early reply. Thanks a lot.

Jack Meng
by Xiangjie Meng
Wed Sep 16, 2015 9:10 am
Forum: OpenSim
Topic: An issue of OpenSim ID analysis need help
Replies: 4
Views: 419

Re: An issue of OpenSim ID analysis need help

Dear James,

Thanks a lot. This is very helpful. I also found the signal.cpp. Just as what you said, from this file, I found OpenSim uses GCVSpline and 3rd lowpass IIR Butterworth digital filter to get angular velocity and acceleration needed.

Best,
Jack Meng
by Xiangjie Meng
Wed Sep 16, 2015 9:05 am
Forum: OpenSim
Topic: An issue of OpenSim ID analysis need help
Replies: 4
Views: 419

Re: An issue of OpenSim ID analysis need help

Dear Jiang

Thanks a lot. It is helpful. I want to make a 5 link model in Matlab and use OpenSim to check the results. So, I need to get how to generate angular velocity and angular acceleration.

Best,
Jack Meng
by Xiangjie Meng
Tue Sep 15, 2015 9:55 am
Forum: OpenSim
Topic: An issue of OpenSim ID analysis need help
Replies: 4
Views: 419

An issue of OpenSim ID analysis need help

Thanks a lot for reading this topic. Recently, I simplified Gait_2354 model into a five link model and try to make inverse dynamical analysis to get driving torques needed for each joints. I try to get angular velocity and angular acceleration by "w=(Theta(i)-Theta(i-1))/(Time(i)-Time(i-1)); a=(w(i)...
by Xiangjie Meng
Tue Jul 08, 2014 2:57 pm
Forum: OpenSim
Topic: Plugin load in Matlab
Replies: 8
Views: 12018

Re: Plugin load in Matlab

Has this been solved? I'm having the same problem: I have built a plugin that works in Opensim but cannot load into Matlab with "loadlibrary" because I get the "eh.h is only for C++!" error (I'm using 32bit Matlab 2013b, Opensim 3.2, Visual Studio 2010). Thank you! Dimitra Hi Dimitra, You should us...
by Xiangjie Meng
Tue Jul 01, 2014 12:28 pm
Forum: OpenSim
Topic: OpenSim 64-bit Compatibility issues
Replies: 3
Views: 483

Re: OpenSim 64-bit Compatibility issues

Hi,

When you create your plugin via CMake, you should select right compiler(here your system should select Visual Studio 10 Win64) to generate the .dll file.

Best,
Xiangjie
by Xiangjie Meng
Tue Jul 01, 2014 6:39 am
Forum: OpenSim
Topic: Matlab Scripting " Analyze tool " Memory leak?
Replies: 0
Views: 398

Matlab Scripting " Analyze tool " Memory leak?

Hi all, Thanks a lot for reading this topic. Recently, I am using "Analyze tool" to run static optimization. The matlab scripting is as follows: for i = 1:1 %:size(models,2) %for each model for j= 1:size(motions,2) %do a set of analyses for each motion resultpath{i,j} = ['ResultsAnalyze_model',num2s...
by Xiangjie Meng
Tue May 27, 2014 7:00 am
Forum: OpenSim
Topic: Modifying muscle excitations during forward dynamics
Replies: 1
Views: 219

Re: Modifying muscle excitations during forward dynamics

Hi,

I suggest that you may need to take a look at the Matlab Scripting: http://simtk-confluence.stanford.edu:80 ... ith+Matlab. I think this could help you solve the problem.

Best,
Xiangjie
by Xiangjie Meng
Mon May 26, 2014 7:31 am
Forum: OpenSim
Topic: Problem of loading plugin in Matlab scripting
Replies: 1
Views: 378

Re: Problem of loading plugin in Matlab scripting

Hi All, Problem solved. I used the DLL_API __declspec(dllexport) and DLL_API __declspec(dllimport) and solved the loading plugin problem in Matlab. Just writing a header file and loading the DLL via loadlibrary() will be fine. Please see the following website: http://cog-mach.blogspot.com/2009/08/in...
by Xiangjie Meng
Sat May 24, 2014 6:26 pm
Forum: OpenSim
Topic: Problem of loading plugin in Matlab scripting
Replies: 1
Views: 378

Problem of loading plugin in Matlab scripting

Hi all, Thank you very much for reading this topic. My problem is as follows: I built a new plugin called “osimpressureactuator.dll” based on Visual Studio 2010 in Win 64 system. My OpenSim and Matlab are both x64. I have tested my plugin in OpenSim GUI and it worked pretty well. But when I am using...