ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Support for ROS2 Dashing along with python3

asked 2019-07-16 04:18:42 -0500

shikharvaish28 gravatar image

updated 2019-07-16 05:20:53 -0500

I have built the geometry library for my project using colcon for ROS2 Dashing and Python 3 and sourced it using source install/setup.bash but am getting this error on importing the TransformListener from tf2_ros:

Traceback (most recent call last):
File "", line 12, in <module>
  from tf2_ros.src.tf2_ros.transform_listener import TransformListener
File "../../../src/geometry2/tf2_ros/src/tf2_ros/", line 39, in <module>
  from buffer_interface import *
ModuleNotFoundError: No module named 'buffer_interface'

My directory structure is as follows:

         - build
         - install
         - src
                -  my_module
                          - src
                -  geometry2

It would be great if anyone could help me know where exactly the error is coming from.

I have asked the same thing on GitHub. I can remove it if that's an issue.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-07-22 16:33:46 -0500

jacobperron gravatar image

This has been answered on GitHub.

The Python part of tf2_ros has not been ported to ROS 2 yet. There is an on-going effort:

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools



Asked: 2019-07-16 04:18:42 -0500

Seen: 521 times

Last updated: Jul 22 '19