[Rock-dev] How to define a one port driven behavior in a deployment

Sylvain Joyeux sylvain.joyeux at dfki.de
Thu Mar 21 17:10:11 CET 2013


On 03/21/2013 04:56 PM, Pierre Letier wrote:
> Hello,
>
> I have a component that is normally driven by a periodic triggering. Now
> I want to use it through a deployment and I want to specify a specific
> port to trigger the call to updateHook. In the documentation, I didn't
> find (our understand) how to redefine a one port driven behavior (like "
> port_driven "port_1" ") in the deployment. There is only an example for
> the periodic activity or for triggering on all ports. Can you provide me
> an example ?
>
> Also It is stipulated that over-writing a component behavior in the
> deployment with periodic allows to have both triggering (port_driven and
> periodic).
> http://rock-robotics.org/stable/documentation/orogen/triggering/ports.html
> (then the deployed task instance will be triggered in both cases. This
> can be used, for instance, for timeout purposes.)
>
> Is it possible to define only periodic activity in the deployment (from
> a component that is originally port_driven) ?

1/ you currently cannot add triggering ports in the deployment, you
    have to add them to the task context definition. I actually think
    that doing it at deployment time would be a lot nicer, I'll have to
    have a look at whether it is possible
2/ the documentation is in error. periodic activities override the
    other behaviours. What you can have is an fd-driven task that is
    also port driven, though. I just pushed a fixed version of the
    documentation (should be up-to-date tomorrow)
-- 
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