problem with import and deployer

Dear all, I am doing a method that load and configure component:

so:

deployer = new DeploymentComponent(); deployer->import(componentType); deployer->loadComponent(name,type);

if I change the component, delete the deployer and recall the method it will be always loaded the first component.

I think it is due to the import function. Thanks a lot for any help Diego

Re:

a

problem with import and deployer

On Thu, Jun 26, 2014 at 6:11 PM, <dgerb [..] ...> wrote:

> Dear all,
> I am doing a method that load and configure component:
>
> so:
>
> deployer = new DeploymentComponent();
> deployer->import(componentType);
> deployer->loadComponent(name,type);
>
> if I change the component, delete the deployer and recall the method it
> will
> be always loaded the first component.
>
> I think it is due to the import function.
> Thanks a lot for any help
>

Hello Diego,

What exactly is your question?. If you formulate it more explicitly there
is a higher chance that you'll get an answer from the list.

Best,

Adolfo.

Diego
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Re: problem with import and deployer

Hi Adolfo, sorry for the confusion. I am using orocos toolchain 2.6 under gnulinux. I am using also the import function from deployer to import an installed component package. The package is correctly imported and the relative component loaded (by loadComponent). Then, if I modify, re-build and install the component without restart the deployer, a new import simply has no effect: the old component is loaded. I need to quit and restart the deployer to have the modifications be effective. This problem seems to me related to bug:

http://www.orocos.org/forum/rtt/rtt-dev/bug-1001-new-deployer-claims-override-existing-component-type-does-not

relative to toolchain 2.5. However, file ComponentLoader.cpp file is correct in my case.

Thanks in advance.