Important announcement

Dear visitor,

Please note that this OpenCourseWare platform will be replaced at the end of 2026 by a new platform (under the same url ocw.tudelft.nl).

Courses and their contents that are currently available the platform will partly be migrated. URL’s for this content will change and content might be unavailable for some time. In addition, some courses will not be available anymore.

If you are linking to specific courses on this platform (for instance for your students), please take timely measures to avoid problems with access. Possible actions are:

  • Download the materials to your local platform (laptop, server)
  • For educators only (including TU Delft lecturers): Contact us at ocw@tudelft.nl and inform us what course you are using in what context (institute, program, period of use, number of students). We will research (in collaboration with the authors of the course) and decide if we will migrate the course, and if yes, can supply you with a new url.

Thank you.

1.1.2 ROS Nodes

Course subject(s) Module 1. ROS Essentials

In this lesson, we will find out what happens with ROS nodes. The focus of the video will be on three different ways to inspect ROS nodes and see what they’re doing.

Note:

In order to try the commands in this video,  you need to have the first ROS application running in a separate CCS.

You will build your own ROS application at a slightly later point this week!!

 

Remainder: Don’t forget to source your workspace if you want to use ROS commands!

If you’ve followed the procedure under the Course Setup section correctly, you only need to execute the following in the shell:
$ source $HOME/hrwros_ws/devel/setup.bash

Summary:

There are three main ways to inspect a ROS node:

  • Simply list all currently running nodes in the terminal:
    rosnode list
  • Make a visual graph of all running nodes and their connections:
    rqt_graph
  • List information about a specific node in the terminal:
    rosnode info <node_name>

In the following lectures, we will learn much more about Nodes. For example, we will see that they can publish (write) to a topic and subscribe (read) from a topic.

Creative Commons License
Hello (Real) World with ROS - Robot Operating System by TU Delft OpenCourseWare is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://online-learning.tudelft.nl/courses/hello-real-world-with-ros-robot-operating-systems//.
Back to top
[sg_popup id=6]