[Rock-dev] [rock] #316: syskit: dynamic_services

rock noreply at opendfki.de
Mon Aug 19 14:52:23 CEST 2013


#316: syskit: dynamic_services
--------------------+------------------------------------
 Reporter:  thro02  |       Owner:  rock-dev-mailing-list
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:
Component:  base    |  Resolution:
 Keywords:          |
--------------------+------------------------------------

Comment (by thro02):

 Referring to the description on the website:

 dynamic_service Base::JointsConsumerSrv, :as => 'merged_inputs' do
    component_model.argument "#{name}_priority",
         :default => options[:priority]
 end


 def configure
 ...
 if srv.fullfills?(Base::JointsConsumerSrv)
           merging_conf << [srv.name, arguments["#{srv.name}_priority"]]
         end
 end
 ...
 end

 If the default argument for e.g. joint_priority is set in
 ''dynamic_service'' then - in ''configure'' I expect ''arguments'' to
 contain a value for the key joint_priority. But this is not the case -
 there is no such key-value pair in ''arguments'' (in configure).

-- 
Ticket URL: <https://rock.opendfki.de/ticket/316#comment:2>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list