Robotics StackExchange | Archived questions

ModuleNotFoundError: No module named 'tf_transformations' Windows Ros2

Hi! I am following this tutorial https://docs.ros.org/en/foxy/Tutorials/Tf2/Introduction-To-Tf2.html on Tf2, however when executing

ros2 launch turtletf2py turtletf2demo.launch.py

I get:

ModuleNotFoundError: No module named 'tf_transformations'

and one turtle doesn't follow the other one.

I have been looking on the internet for solutions (https://github.com/ros/geometry_tutorials/issues/67), but this information https://index.ros.org/p/tf_transformations/github-DLu-tf_transformations/#foxy shows that it should work properly if transforms3d is installed (which I have installed)

Any idea on how to solve this?

Pd: I am working on windows with ros2-foxy-desktop

Asked by marpeja on 2022-04-17 14:04:02 UTC

Comments

Answers

It looks like you're missing the tf_transformations package. You can try installing it (and the other tf2 packages) through Chocolatey:

choco install ros-foxy-turtle-tf2-py ros-foxy-tf2-tools ros-foxy-tf-transformations

Asked by aprotyas on 2022-04-17 19:59:45 UTC

Comments