title: ROS tf.transform cannot find a frame which actually exists (can be traced with rosrun tf tf_echo)
body: <p>Doe someone experienced with ROS the following behavior: how is it possible that a <code>tf.lookupTransform("map", "base_link", ros::Time(0), transform);</code></p>
  
  <p>tells you that: <code>"base_link" passed to lookupTransform argument target_frame does not exist</code> but if i enter:</p>
  
  <pre><code>rosrun tf tf_echo base_link map
  At time 1549633095.937
  - Translation: [-0.005, 0.020, -0.129]
  - Rotation: in Quaternion [0.033, 0.063, 0.002, 0.997]
              in RPY (radian) [0.066, 0.127, 0.009]
  </code></pre>
  
  <p>I can see that the frame not only exist but that there is an effective transformation available between <code>map</code> and <code>base_link</code>?</p>
  
  <p>I am totally clueless about such weird behavior. Any help will be very very welcome. Indeed the program is working on my laptop but not on an Intel NUC.</p>
  
  <p>The complete piece of code is given below (actually I have a segmentation fault during the creation of the costmap_2d::costmap2DROS and looks like it is because tf.transform is failing):</p>
  
  <pre><code> #include &lt;ros/ros.h&gt;
   #include &lt;tf/transform_listener.h&gt;
   #include &lt;costmap_2d/costmap_2d_ros.h&gt;
  
   int main(int argc, char **argv) {
  
      ros::init(argc, argv, "hector_exploration_node");
  
      ros::NodeHandle nh;
  
      tf::TransformListener tf;
  
      tf::StampedTransform transform;
  
      try{
  
              tf.lookupTransform("/base_link", "/map", ros::Time(0), transform);
              std::cout &lt;&lt; "transform exist\n";
      }
      catch (tf::TransformException ex){
              ROS_ERROR("%s",ex.what());
              ros::Duration(1.0).sleep();
       }
  
      std::cout &lt;&lt; "before costmap\n";
      costmap_2d::Costmap2DROS costmap("global_costmap", tf);
      costmap.start();        
      ros::Rate rate(10);
  
      while (ros::ok()) 
              ros::spin();
  
      return 0;
  }
  </code></pre>