[Rock-dev] Adding one orogen-task multiple times to a composition
Matthias Goldhoorn
matthias.goldhoorn at dfki.de
Wed Apr 9 15:10:01 CEST 2014
Does anyone know how i can add a orogen-task multiple times to a
composition?
I know the idea of syskit is that multiple occurrences get merged. But i
thought if i give different configuration this will prevent this.
I tried something like this:
class Behaviour1 < Syskit::Composition
cnt=1
not_importand_background_list.each do |n|
sub = add
BehaviourGraph::CppTask.with_conf(n['graph_name']).prefer_deployed_tasks("graph#{cnt}"),
:as => "node_#{n['id']}"
cnt=cnt+1
end
end
unfortunately on instanciate i get the warning that the task association
is ambiguous, AND i get only one task in the graph.
Does anyone know how i do this correctly?
Best,
Matthias
--
Dipl.-Inf. Matthias Goldhoorn
Space and Underwater Robotic
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: +49 421 178 45-6611
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-4193
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: matthias.goldhoorn at informatik.uni-bremen.de
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
More information about the Rock-dev
mailing list