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

tf Broadcaster Tutorial error

asked 2013-07-30 07:44:37 -0500

Gudjohnson gravatar image

updated 2013-11-18 07:26:26 -0500

tfoote gravatar image

I am following the TF tutorial http://www.ros.org/wiki/tf/Tutorials/Writing%20a%20tf%20broadcaster%20%28C%2B%2B%29

and I just copy pasted the code from there. When I try to run it, I receive this error

undefined reference to `tf::TransformBroadcaster::sendTransform(tf::StampedTransform const&)

What should I do? Where is the problem associated to?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
5

answered 2013-07-30 18:18:31 -0500

Try adding tf package dependency in manifest.xml

edit flag offensive delete link more

Comments

Thanks man. It worked. Danke Schoen.

Gudjohnson gravatar image Gudjohnson  ( 2013-07-30 23:12:17 -0500 )edit
2

answered 2015-07-19 21:29:02 -0500

creative_cimmons gravatar image

If it is your own package, make sure that it is included in cmakelists.txt

find_package(catkin REQUIRED COMPONENTS roscpp tf)

edit flag offensive delete link more

Comments

Did that and worked. Thanks!

xaru8145 gravatar image xaru8145  ( 2019-10-03 20:34:31 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-07-30 07:44:37 -0500

Seen: 2,939 times

Last updated: Jul 19 '15