Ask Your Question
0

tf2 stamped datatypes tutorial fails to build

asked 2016-01-16 16:51:03 -0600

eddy.scott gravatar image

I'm trying to walk through the tf2 tutorials following the instructions here: http://wiki.ros.org/tf2/Tutorials/Usi...

Trying to build the source code with catkin results in

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

Upon changing the two include files to
#include "tf2_ros/transform_listener.h" #include "tf2_ros/message_filter.h"

The code can find the header files but now the tf2 member functions are throwing errors. Changing things to tf2_ros:: fixes some errors but others arise. This results in a few questions on my end

  1. What is the difference between tf2 and tf2_ros? Can people point me to documentation on this
  2. Is syncing Stamped data to a specific transformation in time even done via message filters in tf2 or is this functionality replaced with tfBuffer?
  3. Is there a tf2 tutorial that shows how to time sync transformations and stamped datatypes with the correct implementation?
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-08-25 04:03:35 -0600

Vincent R gravatar image

It should be fixed now. The code is versioned here : https://github.com/ros/geometry_tutor...

edit flag offensive delete link more

Comments

Thanks for reporting back and providing a solution.

For reference: ros/geometry_tutorials#24.

gvdhoorn gravatar imagegvdhoorn ( 2016-08-25 04:24:47 -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

2 followers

Stats

Asked: 2016-01-16 16:51:03 -0600

Seen: 160 times

Last updated: Aug 25 '16