Up to this point, we have been focused on creating the URDF file. We then used the urdf_tutorial package to launch the URDF file, RViz, and other related nodes and topics to display the TFs in RViz.

image.png

In this section, we will explore what the urdf_tutorial package was doing.

Let’s first launch the robot that we created in the previous section using the urdf_tutorial package:

ros2 launch urdf_tutorial display.launch.py model:=/home/sahel/my_robot.urdf

Let’s now launch the RQT graph to see that topic and nodes that are currently running:

rqt_graph

image.png

Nodes (Oval shapes):

  1. /joint_state_publisher:
  2. /robot_state_publisher:
  3. /transform_listener_impl_60f18864e3a0:

Topics (Rectangles):

  1. /robot_description:
  2. /joint_states:
  3. /tf:

Information Flow: