<!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>&#62; Sylvain Joyeux &#60;bir.sylvain@gmail.com&#62; hat am 29. Mai 2015 um 14:33 geschrieben:<br>&#62; <br>&#62; <br>&#62; Can you post your runscript as well ?<br>&#62; <br>&#62; Sylvain<br>&#62; <br>&#62; On Fri, May 29, 2015 at 7:06 AM, Sebastian Kasperski<br>&#62; &#60;sebastian.kasperski@dfki.de&#62; wrote:<br>&#62; &#62; Hello,<br>&#62; &#62;<br>&#62; &#62; I have a task that is supposed to provide the robots position in a global<br>&#62; &#62; map via a transform &#34;map&#34; -&#62; &#34;robot&#34;.<br>&#62; &#62;<br>&#62; &#62; Within the orogen-file, the transform is specified as:<br>&#62; &#62; output_port &#34;map2robot&#34;, &#34;base/samples/RigidBodyState&#34;<br>&#62; &#62;<br>&#62; &#62; The transform is created with the given frame names in the task:<br>&#62; &#62; base::samples::RigidBodyState rbs;<br>&#62; &#62; rbs.setTransform(mMapper-&#62;getCurrentPose());<br>&#62; &#62; rbs.invalidateCovariances();<br>&#62; &#62; rbs.sourceFrame = &#34;map&#34;;<br>&#62; &#62; rbs.targetFrame = &#34;robot&#34;;<br>&#62; &#62; _map2robot.write(rbs);<br>&#62; &#62;<br>&#62; &#62; In transforms.rb, this transform is definied to provide the &#34;map&#34; and robot<br>&#62; &#62; &#34;frame&#34;<br>&#62; &#62; dynamic_transform &#34;mapper.map2robot&#34;, &#34;map&#34; =&#62; &#34;robot&#34;<br>&#62; &#62;<br>&#62; &#62; But when I try to visualize sensor data in the &#34;robot&#34; frame, only the<br>&#62; &#62; default &#34;world_osg&#34; frame is available. A transform_broadcaster is not<br>&#62; &#62; started, even after adding a dummy static_transform in transforms.rb.<br>&#62; &#62;<br>&#62; &#62; What else is missing to make the transform available in the visualization?<br>&#62; &#62;<br>&#62; &#62; Best regards,<br>&#62; &#62; Sebastian<br>&#62; &#62;<br>&#62; &#62; _______________________________________________<br>&#62; &#62; Rock-dev mailing list<br>&#62; &#62; Rock-dev@dfki.de<br>&#62; &#62; http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev<br>&#62; &#62;</div></body></html>