[Rock-dev] configure tasks

Alexander Duda Alexander.Duda at dfki.de
Thu Jan 12 10:44:53 CET 2012


Hi Sylvain,

is there any reason why there aren't any helper functions for loading
and saving config files in the TaskContext class?

It would be more naturally if someone could do:
task = TaskContext.get 'task123'
task.apply_config 'hokuyo.yml', ['default', 'with_remission']

instead of
task = Orocos::TaskContext.get 'task123'
Orocos.apply_conf_file(task, 'hokuyo.yml', ['default', 'with_remission']


The only thing that comes to my mind is that it could clash with an operation but
still I think it is worth to add these helper functions.

Alex

-- 
Dipl.-Ing. Alexander Duda 
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda 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