ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The API pointed to by @mgruhler is correctand consistent with your error. The python API returns the result and does not take the resultant output by reference like the c++ API.

You should be using new_pt = tf_l.transformPose(data.header.frame_id,mapPose)

The C++ API uses different syntax to let you take advantage of the language capabilities.