[Rock-dev] Transformation not available in Visualization

Sebastian Kasperski sebastian.kasperski at dfki.de
Fri May 29 14:41:40 CEST 2015


This is the script I use to start local replay and the mapper task. (which
provides the transform)

> Sylvain Joyeux <bir.sylvain at gmail.com> hat am 29. Mai 2015 um 14:33
> geschrieben:
>
>
> Can you post your runscript as well ?
>
> Sylvain
>
> On Fri, May 29, 2015 at 7:06 AM, Sebastian Kasperski
> <sebastian.kasperski at dfki.de> wrote:
> > Hello,
> >
> > I have a task that is supposed to provide the robots position in a global
> > map via a transform "map" -> "robot".
> >
> > Within the orogen-file, the transform is specified as:
> > output_port "map2robot", "base/samples/RigidBodyState"
> >
> > The transform is created with the given frame names in the task:
> > base::samples::RigidBodyState rbs;
> > rbs.setTransform(mMapper->getCurrentPose());
> > rbs.invalidateCovariances();
> > rbs.sourceFrame = "map";
> > rbs.targetFrame = "robot";
> > _map2robot.write(rbs);
> >
> > In transforms.rb, this transform is definied to provide the "map" and robot
> > "frame"
> > dynamic_transform "mapper.map2robot", "map" => "robot"
> >
> > But when I try to visualize sensor data in the "robot" frame, only the
> > default "world_osg" frame is available. A transform_broadcaster is not
> > started, even after adding a dummy static_transform in transforms.rb.
> >
> > What else is missing to make the transform available in the visualization?
> >
> > Best regards,
> > Sebastian
> >
> > _______________________________________________
> > Rock-dev mailing list
> > Rock-dev at dfki.de
> > http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
> >
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20150529/547aa3b3/attachment-0001.htm 
-------------- nächster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname   : map_test.rb
Dateityp    : application/x-ruby
Dateigr��e  : 1122 bytes
Beschreibung: nicht verf�gbar
URL         : http://www.dfki.de/pipermail/rock-dev/attachments/20150529/547aa3b3/attachment-0001.bin 


More information about the Rock-dev mailing list