[Rock-dev] Multiple services of same type in tasks and	data_service_type
    Christian Rauch 
    Christian.Rauch at dfki.de
       
    Tue Nov  5 11:30:07 CET 2013
    
    
  
Hi,
if a task provides multiple services of the same type with different 
alias, how do I select one particular service by name in my profile?
In my case a task provides two different Base::<type>ControlledSystemSrv 
and syskit tells me:
{{{
= there is an ambiguity while looking for a service of type 
Base::ControlledSystemSrv in Motionproxy::Task
| candidates are:
|   controlled_system,
|   motion_sample_consumer
}}}
How do I select one of the candidates when I want to fulfil 
'controlled_system' of a ControlLoop?
A similar problem arises when a data_service_type also provides two 
different Base::<type>ControlledSystemSrv as both have the output port 
"command_out" but different type.
Is there a way to rename the ports of a service in the provides statement?
Regards,
Christian
-- 
  Christian Rauch
  Space Robotics
  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 5
  28359 Bremen, Germany
  Tel:     +49 (0)421 178 45-6619
  Empfang: +49 (0)421 178 45-6611
  Fax:     +49 (0)421 178 45-4150
  E-Mail:  Christian.Rauch at dfki.de
  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
    
    
More information about the Rock-dev
mailing list