[Rock-dev] Transformer outside Bundle
Javier Hidalgo Carrió
javier.hidalgo_carrio at dfki.de
Tue Oct 30 12:03:57 CET 2012
On 10/30/2012 11:48 AM, Alexander Duda wrote:
> On 10/30/2012 11:42 AM, Javier Hidalgo Carrió wrote:
>> Hello Rocks!
>>
>> Is there the possibility to use the transformer outside bundles?
>> In the documentation is written as Orocos.transformer but the method is
>> not part of Orocos.
>> (http://rock-robotics.org/stable/api/tools/orocos.rb/Orocos.html)
>> -> undefined method `transformer' for Orocos:Module (NoMethodError)
>>
>> Perhaps is now part of RobyPlugin, Orocos::RobyPlugin::transformer.
>>
>> Some ideas about how to call the transformer outside bundles?
>> I mean, how to load the transforms.rb and setup. Something like:
>>
>> Orocos.transformer.load('config/transforms.rb')
>> Orocos.transformer.setup(lidar, filter, servo)
> require "transformer/runtime"
Thanks, It works great!
Just a small remark in case someone is using it"
the "load" method is "load_conf" in ruby scripts.
drivers/orogen/transformer/rock/runtime.rb
Javier.
>
> Alex
>
More information about the Rock-dev
mailing list