Dynamic deployment

Hey,

I'm running more and more into trouble with the 'rock' way of
task deployment. E.g. static binary deployment. Is there already
a system within RTT or OCL to dynamically load and spawn
tasks in process groups ?
It looks like the OCL DeploymentComponent can do this, but
I can't find the code for the dynamic loading of tasks...
Greetings
    Janosch

Dynamic deployment

> On Oct 19, 2017, at 03:44, Janosch Machowinski <Janosch [dot] Machowinski [..] ...> wrote:
>
> Hey,
>
> I'm running more and more into trouble with the 'rock' way of
> task deployment. E.g. static binary deployment. Is there already
> a system within RTT or OCL to dynamically load and spawn
> tasks in process groups ?
> It looks like the OCL DeploymentComponent can do this, but
> I can't find the code for the dynamic loading of tasks...
> Greetings
> Janosch

Hey Janosch

Can you be a little more specific in what you’re looking for? The existing deployer in OCL takes in XML or Orocos script files, and can build a deployment from there. This might provide a mechanism to do what you want.

HTH
S

Dynamic deployment

Good point, my email was a bit unspecific....
What I need :
Specify in a struct :
    TaskModel (class of the Task to load)
    Name of the Task (Corba name)
    Period / port / fd-driven

A function, where I pass a vector of the above struct.
This function should create a new process, and per
struct load some shared object, to get the Task instance,
set actvity / corba dispatcher.

Hm, I just realized, that the shared object thing might
not be needed, but would be nicer because of link time...
Greetings
    Janosch

Am 19.10.2017 um 12:52 schrieb S Roderick:
>> On Oct 19, 2017, at 03:44, Janosch Machowinski <Janosch [dot] Machowinski [..] ...> wrote:
>>
>> Hey,
>>
>> I'm running more and more into trouble with the 'rock' way of
>> task deployment. E.g. static binary deployment. Is there already
>> a system within RTT or OCL to dynamically load and spawn
>> tasks in process groups ?
>> It looks like the OCL DeploymentComponent can do this, but
>> I can't find the code for the dynamic loading of tasks...
>> Greetings
>> Janosch
> Hey Janosch
>
> Can you be a little more specific in what you’re looking for? The existing deployer in OCL takes in XML or Orocos script files, and can build a deployment from there. This might provide a mechanism to do what you want.
>
> HTH
> S