Create Plugin for new component
Posted: Fri Nov 04, 2016 10:57 am
Hi,
I have created a new component which is a new kind of actuator. I have tested it by create new model using it in main() program with VS C++.
Now, I would like to create a plugin (.dll and .lib) files for my component. I have followed the template for analyses plugin example provided by OpenSim. I am able to build and create .dll and .lib. After I loaded my plugin into GUI, then when I tried to open a .osim model that uses my component, I am not able to open the file.
I guess there could be 2 reasons: either my project of creating plugin is not correct, or my .osim model is not correct.
For the first reason, I wonder are there any differences between creating a plugin for analysis tool and new component which is actuator?
For the second reason, could you suggest a way to use and test my component (use .dll or .lib file in Matlab or GUI)?
Thank you in advance,
Vinh
I have created a new component which is a new kind of actuator. I have tested it by create new model using it in main() program with VS C++.
Now, I would like to create a plugin (.dll and .lib) files for my component. I have followed the template for analyses plugin example provided by OpenSim. I am able to build and create .dll and .lib. After I loaded my plugin into GUI, then when I tried to open a .osim model that uses my component, I am not able to open the file.
I guess there could be 2 reasons: either my project of creating plugin is not correct, or my .osim model is not correct.
For the first reason, I wonder are there any differences between creating a plugin for analysis tool and new component which is actuator?
For the second reason, could you suggest a way to use and test my component (use .dll or .lib file in Matlab or GUI)?
Thank you in advance,
Vinh