Error in a plug-in controller component

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Ricardo Lameira
Posts: 17
Joined: Tue Apr 12, 2016 1:43 pm

Error in a plug-in controller component

Post by Ricardo Lameira » Thu Dec 01, 2016 8:54 am

Hello,


I build the plugin controller correctly, but when I try to implement the controllers on my model, the delayed Path Reflex controller doesn´t work. The following error appears:" Object:: newInstanceOfType (): object type ` DelayedPathReflexController´is not a registered Object/ Object type DelayedPathReflexController not recognized " Any suggestions to solve the problem?


Thank you

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: Error in a plug-in controller component

Post by Dimitar Stanev » Thu Dec 01, 2016 12:33 pm

You haven't register the controller in the plugin.

Code: Select all

Object::registerType(DelayedPathReflexController()); 	
https://simtk.org/api_docs/opensim/api_ ... fbe757b72d

POST REPLY