Does OROCOS support arrays of strings?
I would like to use an array of strings in a state machine to be able
to iterate with a index for-next loop and use string(index) as input.
Please let me know if arrays of strings are supported, and correct syntax.
Richard.
Arrays of strings
On Wed, Aug 19, 2009 at 10:47, Richard De Jong<richard [dot] dejong [..] ...> wrote:
>
> Does OROCOS support arrays of strings?
>
> I would like to use an array of strings in a state machine to be able
> to iterate with a index for-next loop and use string(index) as input.
> Please let me know if arrays of strings are supported, and correct syntax.
Syntax:
Be sure to link with orocos-ocl-common.so in order to get the strings
type in your application.
Peter
Arrays of strings
On Aug 19, 2009, at 04:47 , Richard De Jong wrote:
>
> Does OROCOS support arrays of strings?
>
> I would like to use an array of strings in a state machine to be able
> to iterate with a index for-next loop and use string(index) as input.
> Please let me know if arrays of strings are supported, and correct
> syntax.
>
> Richard.
Check out the ocltoolkit in OCL (ocl/ocltoolkit.cpp). No doc's with
it, as far as I can see ... nor is it actually getting built I just
noticed. Appears to be unfinished work ... might be a start for you
though.
Stephen
Arrays of strings
I use the ocl/ocltoolkit frequently and you should be able to do what
you want with it. I have no idea why it is not build any more, it used
to be. Maybe it is because of the ocl-refactoring that Markus is
working on?
Ruben
On Wed, Aug 19, 2009 at 1:05 PM, S Roderick<kiwi [dot] net [..] ...> wrote:
> On Aug 19, 2009, at 04:47 , Richard De Jong wrote:
>
>>
>> Does OROCOS support arrays of strings?
>>
>> I would like to use an array of strings in a state machine to be able
>> to iterate with a index for-next loop and use string(index) as input.
>> Please let me know if arrays of strings are supported, and correct
>> syntax.
>>
>> Richard.
>
> Check out the ocltoolkit in OCL (ocl/ocltoolkit.cpp). No doc's with
> it, as far as I can see ... nor is it actually getting built I just
> noticed. Appears to be unfinished work ... might be a start for you
> though.
> Stephen
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
Arrays of strings
On Aug 20, 2009, at 02:37 , Ruben Smits wrote:
> I use the ocl/ocltoolkit frequently and you should be able to do what
> you want with it. I have no idea why it is not build any more, it used
> to be. Maybe it is because of the ocl-refactoring that Markus is
> working on?
My bad. It is getting built, just not in the traditional sense of a
toolkit. It is captured by the file glob in ocl/CMakeLists.txt and put
in the orocos-ocl-common library.
Sorry
Stephen
>
> On Wed, Aug 19, 2009 at 1:05 PM, S Roderick<kiwi [dot] net [..] ...> wrote:
>> On Aug 19, 2009, at 04:47 , Richard De Jong wrote:
>>
>>>
>>> Does OROCOS support arrays of strings?
>>>
>>> I would like to use an array of strings in a state machine to be
>>> able
>>> to iterate with a index for-next loop and use string(index) as
>>> input.
>>> Please let me know if arrays of strings are supported, and correct
>>> syntax.
>>>
>>> Richard.
>>
>> Check out the ocltoolkit in OCL (ocl/ocltoolkit.cpp). No doc's with
>> it, as far as I can see ... nor is it actually getting built I just
>> noticed. Appears to be unfinished work ... might be a start for you
>> though.
>> Stephen