Dear all,
I have the following issue:
I am creating a file .lua which is used then to start an orocos application, from data passed by a service.
I would like to create some .cpf file to configure some components, to complete the lua script.
The solution that I have in mind is to use strings to create the constant parts of the cpf, and the add the data in the right place.
That is probably similar to what the marshalling storeProperties does.
The question is: there is some libraries that are easily importable in the ros node code that can take care of that?
Thanks, Gianni.
Creating .cpf file from ros node
Submitted by gianni borghesan on Fri, 2012-12-07 21:25 |
Creating .cpf file from ros node
On Fri, Dec 7, 2012 at 10:25 PM, Gianni Borghesan
<gianni [dot] borghesan [..] ...> wrote:
> Dear all,
> I have the following issue:
> I am creating a file .lua which is used then to start an orocos application, from data passed by a service.
> I would like to create some .cpf file to configure some components, to complete the lua script.
> The solution that I have in mind is to use strings to create the constant parts of the cpf, and the add the data in the right place.
> That is probably similar to what the marshalling storeProperties does.
If you want to generate a .cpf file, indeed use the marshalling service.
> The question is: there is some libraries that are easily importable in the ros node code that can take care of that?
I don't understand. You just suggested yourself to use the marshalling
service. Also, How can a ros node generate XML files for Orocos
properties, this format is only used in Orocos ?
> Thanks, Gianni.
Peter
Creating .cpf file from ros node
On 12/09/2012 09:54 PM, Peter Soetens wrote:
> On Fri, Dec 7, 2012 at 10:25 PM, Gianni Borghesan
> <gianni [dot] borghesan [..] ...> wrote:
>> Dear all,
>> I have the following issue:
>> I am creating a file .lua which is used then to start an orocos application, from data passed by a service.
>> I would like to create some .cpf file to configure some components, to complete the lua script.
>> The solution that I have in mind is to use strings to create the constant parts of the cpf, and the add the data in the right place.
>> That is probably similar to what the marshalling storeProperties does.
>
> If you want to generate a .cpf file, indeed use the marshalling service.
>
>> The question is: there is some libraries that are easily importable in the ros node code that can take care of that?
>
> I don't understand. You just suggested yourself to use the marshalling
> service. Also, How can a ros node generate XML files for Orocos
> properties, this format is only used in Orocos ?
the ros node is supposed only to generate the cpf files (from some data
that are get through a service), and then to start orocos pointing the
components to load the cpf.
This is to integrate the itasc DSL that nick is doing.
>
>> Thanks, Gianni.
>
> Peter
>