[prev in list] [next in list] [prev in thread] [next in thread] 

List:       orocos-users
Subject:    [Orocos-users] Running deployer as a service
From:       antonio.castellon () gmail ! com (Antonio Castellon)
Date:       2012-01-27 13:49:54
Message-ID: CAJq7tiRJB9Xx0Ku_RedzqvkhWJOmL-+-a-u83bPpizJ+EKpscg () mail ! gmail ! com
[Download RAW message or body]

Thanks Peter for your comments,
Now I 'm evaluated to use an another executable component (usign main_ORO)
in order to generate a controled loop() which load the XML configuration
files that defines the mini architecture of components to be loaded and
executed.
My last question is if exists other easy method based on
luascript/orocos-script that allow to do it without generate an extra
component.... I try to test something like:

while(true){};


into a *test.ops* file, but it hang the boot sequence (this is the reason
about my delay in my response).

Thnaks in advance,
Toni


Note: I attached the last email for remmeber my quesiton. As you said me, I
check the deployer.cpp but I can't imaginate how to do it.

On Tue, Jan 24, 2012 at 23:44, Peter Soetens <peter at thesourceworks.com>wrote:

> On Tue, Jan 24, 2012 at 5:56 PM, Antonio Castellon <
> antonio.castellon at gmail.com> wrote:
>
>> Hi Willy,
>>
>> Yes, I see it before... the *orocos.log* informed that the deployer is
>> kick-out, but I can't understand what is the reason, No Errors are
>> showed ..:-(
>>
>> [Info][Thread] Creating Thread for scheduler: 1
>> [Info][TaskBrowser] Thread created with sheduler type '1', priority 0,
>> cpu affinity 4294967295 and period 0.
>> [Info][Logger] Entering Task Deployer
>> [Info][DeploymentComponent::stopComponentsGroup] Stopping group 0
>> [Info][DeploymentComponent::cleanupComponentsGroup] Cleaning up group 0
>> [Info][Logger] Unloading group 0
>> [Info][Logger] Kick-out of group 0 successful.
>> [Info][Logger] Orocos Logging Deactivated.
>>
>>
>>
>> I launch the deployer without load components , the script only run the
>> deployer-gnulinux.
>> Any idea?
>>
>
> The deployer opens a terminal, and gets a 'ctrl-d' because it is running
> in the background. As a consequence, it quits and cleans up.
>
> There is bin/rttscript which is a deployer without a TaskBrowser prompt
> (takes both XML and ops files). Be warned, you need to find a way to delay
> the exit of the application, for example, by blocking on a condition on the
> last script you provided.. See line 165 of deployer.cpp. Any suggestions to
> provide a standard way to implement this are welcome.
>
> Peter
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mech.kuleuven.be/pipermail/orocos-users/attachments/20120127/b8ce7f02/attachment.html 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic