[Rock-dev] Prefix Extension for orogen deployments
Sylvain Joyeux
sylvain.joyeux at dfki.de
Mon May 9 17:01:54 CEST 2011
On 05/09/2011 04:55 PM, Chris Mueller wrote:
> Here are some of my thoughts about this issue:
>
> * Therefore we want to decide at runtime, which task should be started, we
> need an instance of each task for all robotic systems in the
> deployment's main.cpp
> template.
Why do you want that ? Should not you care only about adding a prefix to
all tasks, but starting the set of tasks that the deployment contains ?
> * No task should be started if a command line prefix is not set to specifiy
> the current robot system. (I guess, this could be very badly if all
> tasks for all systems
> are running on the same machine).
I don't see that point either. No prefix is the normal behaviour.
> * We need a mapping in an orogen deployment file for specifing the task
> implementation
> for a given prefix. Something like e.g.
>
> map = { "sherpa" => "sherpa_simulation::Core", "crex" =>
> "crex_simulation::Core" };
Aaaaheeeehhhehhehehehhhhh.
This is going IMO waaaaay too far. If you want *different* deployments
based on a name, just create two deployments.
Now, here's the thing: I think that getting that flexible should *not*
be done through the current orogen deployment mechanism. If you *really*
want to be that flexible, then integrate support for the OCL deployer in
orocos.rb (which dynamically creates deployments based on a XML
configuration file or a LUA script).
--
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics
!!! Achtung, neue Telefonnummer!!!
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list