Unit 2: Topics do not show up in the dropdown menu in Rviz

I was following section 2.3, but in RVIZ2:
under Global Options → Fixed Frame dropdown menu, there is nothing to select from.
under RobotModel → Description Topic dropdown menu, there is also nothing

However, if I just type “base_link” and “/robot_description” in those 2 boxes, the red cube would show up.

This is inconvenient. I wonder what have I done wrong.
Thanks for your help in advance!

Shell #1:
cd ~/ros2_ws
source install/setup.bash
ros2 launch urdfbot_description urdf_visualize.launch.py

Shell #2:
cd ~/ros2_ws
source install/setup.bash
rviz2

Hi,

You havent done anything wrong. It doesn’t appear in the list because TF will only be published by the state publisher once two links and a joint are there. With a single link its a special case where there will be no tf published and therefore you will not be able to select form the dropdown many the link.

I’ll correct the notebooks to make that clearer :wink:

Thanks for the feedback , you are doing great!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.