[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.
@beck. Do you know if tf2_ros (python) works in "Crystal Clemmys"?
It does not. I will leave this question as unanswered until it is fixed.
Looks like it is really close.... https://github.com/ros2/geometry2/pul...