http://bugs.orocos.org/show_bug.cgi?id=1001
Summary: Deployer claims to override existing component type
but does not.
Product: Toolchain
Version: 2.5.0
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: OCL
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
Hi,
I'm creating a test where I would like to replace an already imported component
type by a dummy implementation as such that the remainder of my program can be
reused without having to change anything.
I did this by creating a new component package which defines the exact same
component type and by importing this one after the original.
As expected the deployer warns me that the type already exists and that he will
override it:
...
0.317 [ Debug ][DeploymentComponent::import] Scanning file
/home/rsmits/ros/soem/soem_master/lib/orocos\
/gnulinux/libsoem_master-gnulinux.so ...Succesfully loaded soem_master
0.317 [ Info ][DeploymentComponent::import] Loaded component type
'soem_master::SoemMasterComponent'
...
0.337 [ Debug ][DeploymentComponent::import] Scanning file
/home/rsmits/ros/pma-control/test/dummy_soem\
master/lib/orocos/gnulinux/libdummy_soemmaster-gnulinux.so ...Succesfully
loaded dummy_soemmaster
0.337 [ Warning][DeploymentComponent::import] Component type name
soem_master::SoemMasterComponent alrea\
dy used: overriding.
But when I load a component from this component type it turns out the first
implementation is still used instead of the new one.
Ruben
[Bug 1001] Deployer claims to override existing component type b
http://bugs.orocos.org/show_bug.cgi?id=1001
Ruben Smits <ruben [dot] smits [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
[Bug 1001] Deployer claims to override existing component type b
http://bugs.orocos.org/show_bug.cgi?id=1001
Ruben Smits <ruben [dot] smits [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|orocos-dev [..] ... |ruben.smits@intermodalics.e
|ven.be |u