[Rock-dev] [rock] #102: roby: data_reader / data_writer in Roby task scripts do not properly do port mappings

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


#102: roby: data_reader / data_writer in Roby task scripts do not properly do
port mappings
---------------------------+-----------------------------------
Reporter:  sylvain.joyeux  |      Owner:  rock-dev-mailing-list
    Type:  defect          |     Status:  new
Priority:  major           |  Component:  base
Keywords:                  |
---------------------------+-----------------------------------
 With

 composition 'Compo' do
   add Srv::Bla, :as => 'bla'
 end

 then


   task = Cmp::Compo.use(Srv::Bla => My::Task).as_plan
   task.script do
      data_reader 'bla', ['bla', 'output_port']
   end

 will fail if output_port is an output port of the service
 Srv::Bla which is mapped to a different name on the task
 that is actually used at execution time. Moreover, the
 scripting is not detecting that the port does not exist
 if it actually does not exist until the script is instanciated (i.e. until
 execution time)

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


More information about the Rock-dev mailing list