For any who find this thread in the future, it was asked and solved on ROS Answers: <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://answers.ros.org/question/906/tf-spits-a-lookup-exception">http://answers.ros.org/question/906/tf-spits-a-lookup-exception</a><div>
<br></div><div>- Eric<br><br><div class="gmail_quote">On Mon, May 16, 2011 at 12:11 AM, Tully Foote <span dir="ltr"><<a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Dimitar, <br><br>I expect that this error comes from improper usage of the library in your code.  I suggest that you isolate it down to as small a test case as you can reproduce and ask it on <a href="http://answers.ros.org" target="_blank">answers.ros.org</a>.  If it is determined to be a bug then a ticket can be filed to fix it.  <br>


<br>Tully<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, May 10, 2011 at 6:26 AM, Dimitar Simeonov <span dir="ltr"><<a href="mailto:simeonov.dimitar@gmail.com" target="_blank">simeonov.dimitar@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5">

<span style="border-collapse:collapse;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13px">Hello, <br>
I'm not sure whether this is better asked at <a href="http://answers.ros.org" target="_blank">answers.ros.org</a>, but since it looks like a bug I'm sending it here <br><br>I'm using the tf package and specifically the tf.TransformerROS class in Python. <br>



If I try calling its methods transformPose or transformPointCloud it returns a LookupException <br><br>    tf.LookupException: Frame id /map does not exist! When trying to transform between /base_link and /map. <br><br>However if I try running the tf_monitor right after that I see that tf has knowledge of the frame <br>



<br>    ~>rosrun tf tf_monitor base_link map <br>    Waiting for transform chain to become available between /base_link and /map <br><br>    RESULTS: for /base_link to /map <br>    Chain is: /base_link -> /base_footprint -> /odom_combined -> /map <br>



    Net delay     avg = 0.00684423: max = 0.054 <br><br>    Frames: <br>    Frame: /base_footprint published by /robot_pose_ekf Average Delay: 0.0185 Max Delay: 0.026 <br>    Frame: /base_link published by /robot_state_publisher Average Delay: 0.0075 Max Delay: 0.008 <br>



    Frame: /odom_combined published by /slam_gmapping Average Delay: 0 Max Delay: 0 <br><br>    All Broadcasters: <br>    Node: /robot_pose_ekf 33.5196 Hz, Average Delay: 0.0185 Max Delay: 0.026 <br>    Node: /robot_state_publisher 55.5556 Hz, Average Delay: 0.0075 Max Delay: 0.008 <br>



    Node: /slam_gmapping 25 Hz, Average Delay: 0 Max Delay: 0 <br><br>I'm running gazebo simulation and have ROBOT=sim set. <br><br>Best, <br><font color="#888888">Dimitar </font></span>
<br></div></div>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com" target="_blank">tfoote@willowgarage.com</a><br>
<a href="tel:%28650%29%20475-2827" value="+16504752827" target="_blank">(650) 475-2827</a><br>
</font><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>