Sanja, <div>    The python implementation does not have that method defined.  You can do this in approximately one one in python.  </div><div><br></div><div>Note: This is pseudo code but you should get the gist. </div><div>

points_out = [ listener.transformPoint("target_frame", PointStamped(point_cloud.header, p).point for p in point_cloud.points]</div><div><br></div><div>If you're worried about efficiency you can also use lookupTransform and multiply the matrix.  </div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>Tully</div><div><br><div class="gmail_quote">On Tue, Jul 20, 2010 at 1:53 PM, Sanja Popovic <span dir="ltr"><<a href="mailto:sanja@mit.edu" target="_blank">sanja@mit.edu</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear ROS users,<br>
<br>
I am trying to use tf with the PointCloud data I have but I keep getting a message that TransformListener has no object attribute transformPointCloud. Is tf for Python just lacking this function or do I need to do more than just importing tf? The same code works for transforming individual points, but PointClouds are the source of trouble.<br>



<br>
Thanks,<br>
Sanja<br>
_______________________________________________<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>
</blockquote></div><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>(650) 475-2827<br>
</div>