Joint Load Optimization Plugin
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Joint Load Optimization Plugin
Dear All,
How to install joint load optimization plugin? Please let me know.
Thanks & Regards,
Karthick.
How to install joint load optimization plugin? Please let me know.
Thanks & Regards,
Karthick.
- Thomas Uchida
- Posts: 1792
- Joined: Wed May 16, 2012 11:40 am
Re: Joint Load Optimization Plugin
The Confluence documentation has a couple pages on plugins:
- "Using Plugins" - https://simtk-confluence.stanford.edu/d ... ng+Plugins
- "Creating Plugins" - https://simtk-confluence.stanford.edu/d ... ng+Plugins
- "Using Plugins" - https://simtk-confluence.stanford.edu/d ... ng+Plugins
- "Creating Plugins" - https://simtk-confluence.stanford.edu/d ... ng+Plugins
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Joint Load Optimization Plugin
Dear Tom,
Thanks for your reply. I went through the documentation and followed the procedure. But I got errors while building in Visual Studio. I am using opensim 3.3 and Visual studio express 2013 for windows desktop. I could build analysis plugin example without error. A screenshot of the error is attached. What could be the issue. Please let me know.
Thanks & Regards,
Karthick
Thanks for your reply. I went through the documentation and followed the procedure. But I got errors while building in Visual Studio. I am using opensim 3.3 and Visual studio express 2013 for windows desktop. I could build analysis plugin example without error. A screenshot of the error is attached. What could be the issue. Please let me know.
Thanks & Regards,
Karthick
- Thomas Uchida
- Posts: 1792
- Joined: Wed May 16, 2012 11:40 am
Re: Joint Load Optimization Plugin
Difficult to say exactly without seeing the code. Based on errors 1 and 2, you are trying to modify a value returned by a getXXX() method (you may need to use the updXXX() version of the method instead, depending on what you are trying to do). Not sure about errors 3 and 5; perhaps you're missing #include <OpenSim.h>? Based on the text in the last column, you are building DeMersOptimizationPlugin, which I presume you downloaded from a simtk project. Was that code designed to work with OpenSim 3.3?
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Joint Load Optimization Plugin
Yes. I downloaded the source code from Simtk project page.
https://simtk.org/projects/jointloadopt
I am not sure whether the code was designed to work with opensim 3.3. I could not find this information in the project page. How can I find that information?
https://simtk.org/projects/jointloadopt
I am not sure whether the code was designed to work with opensim 3.3. I could not find this information in the project page. How can I find that information?
- Thomas Uchida
- Posts: 1792
- Joined: Wed May 16, 2012 11:40 am
Re: Joint Load Optimization Plugin
The citation provided on the simtk project page is for a paper that was published in 2014. OpenSim 3.3 was not released until July 2015 and it's unlikely that the code has been updated.
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Joint Load Optimization Plugin
I could build the source code successfully with opensim 3 and VC10Pro. It is installed in the plugins directory. But I could not load the plugin. It says " unable to load library DeMersOptimizationPlugin. Plugin not loaded". What could be the problem.
- Thomas Uchida
- Posts: 1792
- Joined: Wed May 16, 2012 11:40 am
Re: Joint Load Optimization Plugin
Could be a compatibility issue: the plugin must be built with the same version of Visual Studio as the OpenSim distribution. Please see the "Creating Plugins" page in the Confluence documentation (https://simtk-confluence.stanford.edu/d ... ng+Plugins).
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Joint Load Optimization Plugin
I built the plugin with compatible version of visual studio and opensim: OpenSim 3.0 VC10P and Visual Studio 2010 Professional.
- Thomas Uchida
- Posts: 1792
- Joined: Wed May 16, 2012 11:40 am
Re: Joint Load Optimization Plugin
How did you determine that the plugin should be built with OpenSim 3.0? The "Initial release" date on the simtk project page is January 1, 2014, so I would have expected it to use version 3.1.