Unable to view tf trees in ros2

Hi @karthiaru ,

I think the rosject environment is lacking the installation of rqt_tf_tree package.

Your error clearly explains that when the output says: Package 'xyz' not found.

Run the following commands to install the package:

cd ~
sudo apt update
sudo apt install ros-<distro>-rqt-tf-tree   # distro=humble [in your case]

ros-<distro>-rqt-tf-tree depends on ros-<distro>-rqt-gui package to also be installed.
In case rqt_tf_tree does not start, then you may have to install rqt_gui package also.
In that case, also install rqt_gui package:

cd ~
sudo apt update
sudo apt install ros-<distro>-rqt-gui 
sudo apt install ros-<distro>-rqt-gui-cpp ros-<distro>-rqt-gui-py

This should fix your problem.

Regards,
Girish