Robotics StackExchange | Archived questions

tf2_tools No executable found

I am trying to test the tf2tools packages on my Ubuntu 22.04 ROS Humble. I am following this tutorial. However, when I started the `tf2tools` pkg using the following command:

ros2 run tf2_tools view_frames.py

I got the following error:

"No executable found".

The tf2_tools pkg is installed with:

sudo apt-get install ros-humble-turtle-tf2-py ros-foxy-tf2-tools

I also installed transforms3d:

pip3 install transforms3d

I have the turtle_tf2_py and the turtle_tf2_demo.py running. The teleop_key is working fine. The second turtle followed the middle one and the keyboard input worked. I also where in the home-folder when I tried to start tf2_tools and the view_frames.py.

What´s wrong ? Thanks for helping, if you need any more info please ask.

Asked by Joni_07 on 2022-09-11 12:10:52 UTC

Comments

Answers

Since you are using ROS Humble, you must install the tf2-tools for the humble version. Please use the following command:

sudo apt install ros-humble-tf2-tools

Next, you should use the below command in order to run view_frames:

ros2 run tf2_tools view_frames

Asked by ravijoshi on 2022-09-11 22:18:36 UTC

Comments

Thanks for helping. My problem was the .py by the view_frames ´ros2 run tf2_tools view_frames´

Asked by Joni_07 on 2022-09-12 01:30:27 UTC