[Rock-dev] Rock-Replay, suppress task

Alexander Duda Alexander.Duda at dfki.de
Tue Oct 29 11:42:48 CET 2013


On 10/29/2013 11:10 AM, Sylvain Joyeux wrote:
> On 10/29/2013 11:09 AM, Janosch Machowinski wrote:
>> Hi,
>> when using rock-replay, is there a way to suppress
>> a task that is replayed from a logfile ?
>> I got the problem that I have a log that contains
>> the tasks that I need for replay and the task that
>> I want to rerun live.
> The log replay nowadays registers all logged tasks on the name service.
> I think that you can remove selected tasks with
>
>    replay.name_service.deregister 'task_name'
>
> after Replay.open or replay.load were called. (Not tried it, only looked
> at the API documentation).
>
> Tell us if it worked, I'll push a documentation update if it does.
>
you can either rename a task:
replay.camera.rename("old_camera")

or disable replay:
replay.camera.track(false)

or remove the task from the name service
replay.name_service.deregister "camera"
replay.name_service_async.deregister "camera"

But, if you call Orocos.initialize first the corba name service should 
win if there is a name clash.

Greets 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