use plugins with GUI scripting / MATLAB
Posted: Sun Sep 20, 2015 12:50 pm
Hi,
I made a plugin for a new joint type (CustomJointFilter). I can load the plugin in OpenSim (Tools -> User Plugins -> CustomJointFilterPlugin) and I can load models that contain this new joint type in OpenSim. So far so good.
I would also like to make new joints with GUI scripting or Matlab, but I’m not able to do this so far. I tried this:
[GUI]
>>> j = modeling.CustomJointFilter
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'javapackage' object has no attribute 'CustomJointFilter'
[MATLAB]
>> j = CustomJointFilter
Undefined function or variable 'CustomJointFilter'.
I would also like to do this for a Tool plugin. So do something like:
myTool = myNewTool(‘myNewToolSettings.xml’)
myTool.run
Maybe I did overlook something. Any help is welcome.
Wietse
I made a plugin for a new joint type (CustomJointFilter). I can load the plugin in OpenSim (Tools -> User Plugins -> CustomJointFilterPlugin) and I can load models that contain this new joint type in OpenSim. So far so good.
I would also like to make new joints with GUI scripting or Matlab, but I’m not able to do this so far. I tried this:
[GUI]
>>> j = modeling.CustomJointFilter
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'javapackage' object has no attribute 'CustomJointFilter'
[MATLAB]
>> j = CustomJointFilter
Undefined function or variable 'CustomJointFilter'.
I would also like to do this for a Tool plugin. So do something like:
myTool = myNewTool(‘myNewToolSettings.xml’)
myTool.run
Maybe I did overlook something. Any help is welcome.
Wietse