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

transform listener in qt ros package

asked 2013-12-16 17:50:11 -0600

FuerteNewbie gravatar image

updated 2014-01-27 11:57:04 -0600

tfoote gravatar image

Hi guys,

I am trying to include <transform_listener.h> into a qt ros package. But there is an error.

fatal error: transform_listener.h: No such file or directory

How do I solve this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-12-16 20:43:53 -0600

timster gravatar image
#include <tf/transform_listener.h>

Should do the trick (-;

Also make sure you have added it to your manifest.xml if you are using rosbuild (i.e. the rosmake-command) or to your package.xml and CMakeLists.txt if you are using catkin!

Best

Tim

edit flag offensive delete link more

Comments

I am using rosbuild :(

FuerteNewbie gravatar image FuerteNewbie  ( 2013-12-17 17:41:49 -0600 )edit

why the sad smiley? rosbuild is much easier to use! so have you added <depend package="tf"/> to your manifest.xml? did it help?

timster gravatar image timster  ( 2013-12-18 21:18:14 -0600 )edit

No it doesn't help. :(

FuerteNewbie gravatar image FuerteNewbie  ( 2014-01-15 13:29:16 -0600 )edit

Update your question, please. What written in your manifest.xml, your CMakeLists.txt, your Makefile? What is the exact line you are using to include transform_listener.h?

timster gravatar image timster  ( 2014-01-15 21:15:49 -0600 )edit

You need tf/transform_listener.h (note the tf/ at the front.)

tfoote gravatar image tfoote  ( 2014-01-27 11:57:52 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-12-16 17:50:11 -0600

Seen: 254 times

Last updated: Dec 16 '13