title: AttributeError: 'Point' object has no attribute 'point'
body: <p>I am transforming a point from source frame to target frame using <a href="http://wiki.ros.org/tf2" rel="nofollow noreferrer">tf2</a>. Below is the code snippet:</p>
  
  <pre><code>import tf2_ros
  import tf2_geometry_msgs
  
  transform = tf_buffer.lookup_transform(target_frame, source_frame, rospy.Time(0), rospy.Duration(1.0))
  pose_transformed = tf2_geometry_msgs.do_transform_point(point_wrt_kinect, transform)
  print pose_transformed
  </code></pre>
  
  <p>The code throws following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "q1.py", line 29, in &lt;module&gt;
      pose_transformed = tf2_geometry_msgs.do_transform_point(point_wrt_kinect, transform)
    File "/opt/ros/indigo/lib/python2.7/dist-packages/tf2_geometry_msgs/tf2_geometry_msgs.py", line 59, in do_transform_point
      p = transform_to_kdl(transform) * PyKDL.Vector(point.point.x, point.point.y, point.point.z)
  AttributeError: 'Point' object has no attribute 'point'
  </code></pre>
  
  <p>The <a href="http://wiki.ros.org/tf2_geometry_msgs" rel="nofollow noreferrer">tf_geometry_msgs.py</a> can be seen online at <a href="https://github.com/mkjaergaard/geometry_experimental/blob/master/tf2_geometry_msgs/src/tf2_geometry_msgs/tf2_geometry_msgs.py#L60" rel="nofollow noreferrer">here</a>. This seems silly as they are calling <code>point.point.x</code>. </p>
  
  <p>Which point are they talking about? I believe it should be <a href="http://docs.ros.org/api/geometry_msgs/html/msg/Point.html" rel="nofollow noreferrer">geometry_msgs/Point</a>, which I declared in the following way:</p>
  
  <pre><code>from geometry_msgs.msg import Point
  point_wrt_kinect = Point()
  point_wrt_kinect.x = -0.41
  point_wrt_kinect.y = -0.13
  point_wrt_kinect.z =  0.77
  </code></pre>
  
  <p>Any workaround, please?</p>