title: How to convert eigen::Transform to tf2::Transform and vice versa in ROS C++?
body: <p>How can i convert between types in eigen and tf2 ?</p>
  <pre class="lang-cpp prettyprint-override"><code>Eigen::Transform Tf2ToEigen(const tf2::Transform&amp; in)
  {
      eigen::Transform out;
      tf2::convert(in, out);
      return out;
  }
  
  tf2::Transform EigenToTf2(const Eigen::Transform&amp; in)
  {
      tf2::Transform out;
      tf2::convert(in, out);
      return out;
  }
  </code></pre>
  <p>tf2::convert above doesn't seem to work.</p>