Ask Your Question
0

tf Broadcaster Tutorial error

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

Gudjohnson gravatar image

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

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 -0600

Try adding tf package dependency in manifest.xml

edit flag offensive delete link more

Comments

Thanks man. It worked. Danke Schoen.

Gudjohnson gravatar imageGudjohnson ( 2013-07-30 23:12:17 -0600 )edit
2

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

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 imagexaru8145 ( 2019-10-03 20:34:31 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 2,560 times

Last updated: Jul 19 '15