I've tried it out yesterday, and it seems that the transformer setup stuff just does not work with logs.
I got it to run with the following two patches: https://github.com/rock-core/drivers-orogen-transformer/pull/1 https://github.com/rock-core/tools-orocosrb/pull/35 Sylvain On Tue, Jan 6, 2015 at 12:56 PM, Gabriel Alcantara <[email protected]> wrote: > Hi all, > > I am writing a ruby script to run and test a localization component. > I have a log of the data from the sensors gathered previously. > > I faced an error and I don't know what I am doing wrong. > > First I opened the log files and the stream I wanted (ptu and sonar) > I also wrote a writer for a port on the component (depth_samples_port) > > As I am not going to do any visualization yet, the only frame I set on > the script was the body frame. The ones from the sensors are already > with their default names within the logs. > > When I try to setup the transformer as in > > Orocos.transformer.setup(rosa_localization,ptu,sonar,depth_samples_port) > > I get this error > > "in 'setup_task': undefined method `has_transformer?' for nil:NilClass > (NoMethodError)" > > I don't know if I missed something, anyone has any idea? I don't know > if the problem is with trying to use the transformer in a log or with > the writer of the port. > > Thanks, > > -- > Engenheiro/Pesquisador de Robótica Offshore | Engineer/Researcher of > Offshore Robotics > Universidade Federal do Rio de Janeiro | Federal University of Rio de Janeiro > Gabriel Alcantara Costa Silva > _______________________________________________ > Rock-dev mailing list > [email protected] > http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev _______________________________________________ Rock-dev mailing list [email protected] http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
