[Rock-dev] [rock] #103: roby: cross-specializations are not applied properly

rock noreply at opendfki.de
Wed Feb 15 13:44:09 CET 2012


#103: roby: cross-specializations are not applied properly
---------------------------+-----------------------------------
Reporter:  sylvain.joyeux  |      Owner:  rock-dev-mailing-list
    Type:  defect          |     Status:  new
Priority:  major           |  Component:  base
Keywords:                  |
---------------------------+-----------------------------------
 In

   composition 'Main' do
     add Srv::Controller, :as => 'controller'
     add Srv::ControlledSystem, :as => 'controlled_system'
   end

   Cmp::Main.specialize 'controller' => My::Controller do
     overload 'controlled_system', Srv::SpecializedControlledSystem
   end

   Cmp::Main.specialize 'controlled_system' => My::ControlledSystem do
     add Srv::Pose
     connect pose => controlled_system
   end

 The second specialization is not applied on top of the first in all cases.
 More specifically,

   add(Cmp::Main).use(My::Controller)

 will get the first specialization but no the second, while

   add(Cmp::Main).use(My::Controller, My::ControlledSystem)

 will get both

-- 
Ticket URL: <https://rock.opendfki.de/ticket/103>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list