[Rock-dev] Orogen Task Interface Enums
Sylvain Joyeux
sylvain.joyeux at dfki.de
Tue Oct 11 10:45:35 CEST 2011
On 09/28/2011 05:56 PM, Alexander Duda wrote:
>> Most of the time the components are controlled via orocos.rb interface.
>>
>> Therefore i would probably prefer the ruby-way by using its symbol
>> syntax e.g.:
>>
>> task = TaskContext.get "AnyTask"
>> task.property = :value
> should work
both
task.property = :SYSTEM
and
task.property = "SYSTEM"
should work fine
Sylvain
More information about the Rock-dev
mailing list