HALRobotics / Beta

HAL Robotics Framework beta release and associated documentation.
17 stars 3 forks source link

Controller instantiation failed No preset is selected. #36

Closed lionpeloux closed 6 years ago

lionpeloux commented 6 years ago

Hello,

I get this error when I try to load one of the controller :

1. [Warning] Controller instantiation failed No preset is selected.

Am I missing something ? Only the "generic controller" seems to load. I'm using the beta from last friday.

capture d ecran 2018-09-10 a 10 00 41

tristangobin commented 6 years ago

This error probable comes from a dll conflict. A newton soft json us used in hal and other plug-in. We use the last version wich can be not the case for other plug-in. To solve this try delete any json .dll in gh component folder.

lionpeloux commented 6 years ago

Hi tristan,

I've cleaned up my GH/Library directory but still got the same issue. I suppose you use the same sort of JSON process to load controllers and robots. In my case robot loading is ok.

sebandraos commented 6 years ago

Please make sure you have the appropriate extension installed for the controller you are trying to load. I.e if you are trying to use the ABB IRC5 make sure that the ABB installer is ticked on in the installer.

lionpeloux commented 6 years ago

Ok, this might be the problem. But since I installed the last beta I cannot see the extensions anymore. I tried to uninstall HAL / restart / do a fresh install but still I cannot see the extension.

capture d ecran 2018-09-11 a 11 58 35

sebandraos commented 6 years ago

That looks to be the issue then. Could you please zip C:\ProgramData\HAL and send me a link (wetransfer or similar might be appropriate) so I can examine why the extensions aren't displaying. I would then suggest you delete that same folder and try to reinstall. Hopefully the extensions should show up then.

lionpeloux commented 6 years ago

Here is the folder : https://www.dropbox.com/s/jzdbneqz4u1v168/HAL.zip?dl=0 https://www.dropbox.com/s/jzdbneqz4u1v168/HAL.zip?dl=0

Le 11 sept. 2018 à 12:04, Sebastian Andraos notifications@github.com a écrit :

That looks to be the issue then. Could you please zip C:\ProgramData\HAL and send me a link (wetransfer or similar might be appropriate) so I can examine why the extensions aren't displaying. I would then suggest you delete that same folder and try to reinstall. Hopefully the extensions should show up then.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HALRobotics/Beta/issues/36#issuecomment-420219325, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6FSs0-ajMfEnpeg6PuvnSZQQWjo-5Dks5uZ4q_gaJpZM4Wg8LG.

lionpeloux commented 6 years ago

Ok, I first uninstall HAL, then delete the folder C:\ProgramData\HAL then reinstalled HAL and was able to select the extensions.

capture d ecran 2018-09-11 a 12 08 49

sebandraos commented 6 years ago

Excellent, thank you. Please close this if the installation of the required extensions fixes the issue and I will take a look at your installation configuration to see if I can make it more robust.