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

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 "ros_pp.py", line 12, in <module>
  from tf2_ros.src.tf2_ros.transform_listener import TransformListener
File "../../../src/geometry2/tf2_ros/src/tf2_ros/__init__.py", line 39, in <module>
  from buffer_interface import *
ModuleNotFoundError: No module named 'buffer_interface'

My directory structure is as follows:

-workspace
         - build
         - install
         - src
                -  my_module
                          - src
                              - file.py
                -  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
0

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: https://github.com/ros2/geometry2/pul...

edit flag offensive delete link more

Question Tools

2 followers

Stats

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

Seen: 545 times

Last updated: Jul 22 '19