[ROS2] ModuleNotFoundError: No module named 'tf2_ros'
Using ROS2 Bouncy, I cannot import tf2_ros
in my python scripts. I can import tf2_msgs
, and I can use TF2 just fine in C++ executables, for example using #include <tf2_ros/transform_listener.h>
. What do I need to do to access the same functionality in python? How do I fix this?
Edit: I have confirmed the same issue exists on another computer with a clean install of Bouncy.
Edit 2: It seems that tf2_ros
and some related modules are not being built, according to this pull request.
Edit 3: I have opened an issue here.
Asked by beck on 2018-12-03 20:57:53 UTC
Answers
The Functionality is finally included in Eloquent, but it is not backward compatible to Dashing.
https://github.com/ros2/geometry2/pull/99
Asked by mgangl on 2019-12-13 05:30:01 UTC
Comments
@beck. Do you know if tf2_ros (python) works in "Crystal Clemmys"?
Asked by mgangl on 2019-01-30 09:15:45 UTC
It does not. I will leave this question as unanswered until it is fixed.
Asked by beck on 2019-01-30 10:32:54 UTC
Looks like it is really close.... https://github.com/ros2/geometry2/pull/99
Asked by rukie on 2019-04-29 16:09:27 UTC