<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head><body style=""><div>This is the script I use to start local replay and the mapper task. (which provides the transform)</div>
<div><br>> Sylvain Joyeux <bir.sylvain@gmail.com> hat am 29. Mai 2015 um 14:33 geschrieben:<br>> <br>> <br>> Can you post your runscript as well ?<br>> <br>> Sylvain<br>> <br>> On Fri, May 29, 2015 at 7:06 AM, Sebastian Kasperski<br>> <sebastian.kasperski@dfki.de> wrote:<br>> > Hello,<br>> ><br>> > I have a task that is supposed to provide the robots position in a global<br>> > map via a transform "map" -> "robot".<br>> ><br>> > Within the orogen-file, the transform is specified as:<br>> > output_port "map2robot", "base/samples/RigidBodyState"<br>> ><br>> > The transform is created with the given frame names in the task:<br>> > base::samples::RigidBodyState rbs;<br>> > rbs.setTransform(mMapper->getCurrentPose());<br>> > rbs.invalidateCovariances();<br>> > rbs.sourceFrame = "map";<br>> > rbs.targetFrame = "robot";<br>> > _map2robot.write(rbs);<br>> ><br>> > In transforms.rb, this transform is definied to provide the "map" and robot<br>> > "frame"<br>> > dynamic_transform "mapper.map2robot", "map" => "robot"<br>> ><br>> > But when I try to visualize sensor data in the "robot" frame, only the<br>> > default "world_osg" frame is available. A transform_broadcaster is not<br>> > started, even after adding a dummy static_transform in transforms.rb.<br>> ><br>> > What else is missing to make the transform available in the visualization?<br>> ><br>> > Best regards,<br>> > Sebastian<br>> ><br>> > _______________________________________________<br>> > Rock-dev mailing list<br>> > Rock-dev@dfki.de<br>> > http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev<br>> ></div></body></html>