<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[ROS  Simplified: ROS 2 Tutorial for Beginners]]></title><description><![CDATA[This section is made to provide beginner friendly ROS 2 tutorials at one place like a structured curriculum which beginners can use to learn ROS 2.]]></description><link>https://rossimplified.substack.com/s/ros-2-tutorial-for-beginners</link><image><url>https://substackcdn.com/image/fetch/$s_!ekFF!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59972aa0-ba32-4b2b-be9c-6c36a267e2c8_1024x1024.png</url><title>ROS  Simplified: ROS 2 Tutorial for Beginners</title><link>https://rossimplified.substack.com/s/ros-2-tutorial-for-beginners</link></image><generator>Substack</generator><lastBuildDate>Sun, 10 May 2026 21:19:04 GMT</lastBuildDate><atom:link href="https://rossimplified.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Satyarth Shree]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[rossimplified@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[rossimplified@substack.com]]></itunes:email><itunes:name><![CDATA[Satyarth Shree]]></itunes:name></itunes:owner><itunes:author><![CDATA[Satyarth Shree]]></itunes:author><googleplay:owner><![CDATA[rossimplified@substack.com]]></googleplay:owner><googleplay:email><![CDATA[rossimplified@substack.com]]></googleplay:email><googleplay:author><![CDATA[Satyarth Shree]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[ROS2 Tutorial for Beginners (Part 7) Is Out — Creating a Publisher and Exploring It with ROS 2 CLI]]></title><description><![CDATA[A quick update from the ROS 2 tutorial series &#8212; Part 7 walks through building a working publisher node and using ROS 2 CLI tools to inspect topics and verify communication.]]></description><link>https://rossimplified.substack.com/p/ros2-tutorial-for-beginners-part-863</link><guid isPermaLink="false">https://rossimplified.substack.com/p/ros2-tutorial-for-beginners-part-863</guid><dc:creator><![CDATA[Satyarth Shree]]></dc:creator><pubDate>Thu, 30 Apr 2026 05:11:48 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Rksn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Rksn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Rksn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!Rksn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!Rksn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!Rksn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Rksn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1601577,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/195956511?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Rksn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!Rksn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!Rksn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!Rksn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53b4759d-5964-4fb4-83db-3c913906d03d_1536x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In previous part we discussed what are topics, publishers and subscribers. We also started writing code of our publisher but didn&#8217;t complete it fully. </p><p>In this part I have discussed how to write the code of a publisher node completely and then how to run our publisher and check whether it is properly running or not.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading ROS  Simplified! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>This part has been posted on my medium account.</p><p>Click on the button below to read it.</p><p>Part 8 will be released within next 10 days (by 9th May 2026).</p><p><em><strong>Till then stay tuned and keep learning!!</strong></em></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-7-creating-a-publisher-and-exploring-it-with-ros-2-cli-d98ac9cb4dd0&quot;,&quot;text&quot;:&quot;ROS 2 Tutorial for Beginners (Part 7)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-7-creating-a-publisher-and-exploring-it-with-ros-2-cli-d98ac9cb4dd0"><span>ROS 2 Tutorial for Beginners (Part 7)</span></a></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading ROS  Simplified! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[ROS2 Tutorial for Beginners (Part 6) Is Out - Learning Topic and Publisher Nodes]]></title><description><![CDATA[A quick update from ROS 2 tutorial series - Part 6 is now out and focuses on understanding ROS 2 topics and publisher nodes]]></description><link>https://rossimplified.substack.com/p/ros2-tutorial-for-beginners-part-468</link><guid isPermaLink="false">https://rossimplified.substack.com/p/ros2-tutorial-for-beginners-part-468</guid><dc:creator><![CDATA[Satyarth Shree]]></dc:creator><pubDate>Wed, 15 Apr 2026 05:36:58 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!0SSR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe15a350a-a101-47d2-a918-8c445c2f2fa6_1536x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="image-gallery-embed" data-attrs="{&quot;gallery&quot;:{&quot;images&quot;:[{&quot;type&quot;:&quot;image/png&quot;,&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e15a350a-a101-47d2-a918-8c445c2f2fa6_1536x1024.png&quot;}],&quot;caption&quot;:&quot;&quot;,&quot;alt&quot;:&quot;&quot;,&quot;staticGalleryImage&quot;:{&quot;type&quot;:&quot;image/png&quot;,&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e15a350a-a101-47d2-a918-8c445c2f2fa6_1536x1024.png&quot;}},&quot;isEditorNode&quot;:true}"></div><p>The 6th part of the ROS2 Tutorial Series, titled<br><strong>&#8220;ROS2 Tutorial for Beginners (Part 6): Topics and Publisher Foundations&#8221;</strong>, is now live.</p><p>For those who are new here, <em>ROS Simplified</em> is where I share beginner-friendly tutorials on ROS 2.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading ROS  Simplified! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>In the previous parts, we focused mainly on core basics, but didn&#8217;t go deep into how communication between ROS 2 nodes actually works.</p><p>In this part, I&#8217;ve started breaking down the <strong>publisher&#8211;subscriber system</strong>, which is one of the most fundamental communication mechanisms in ROS 2.</p><p>This article is published on my Medium account.</p><p>Click below to read it &#128071;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-6-topics-and-publisher-foundations-09b493c64bce&quot;,&quot;text&quot;:&quot;ROS 2 Tutorial for Beginners (Part 6)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-6-topics-and-publisher-foundations-09b493c64bce"><span>ROS 2 Tutorial for Beginners (Part 6)</span></a></p><p><strong>Stay Tuned - more tutorials coming soon!</strong></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading ROS  Simplified! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[ROS2 Tutorial for Beginners (Part 5) Is Out — Managing Workspace Storage]]></title><description><![CDATA[A quick update from the ROS2 tutorial series &#8212; Part 5 is now out and focuses on managing ROS2 workspace storage using Linux commands.]]></description><link>https://rossimplified.substack.com/p/ros2-tutorial-for-beginners-part-893</link><guid isPermaLink="false">https://rossimplified.substack.com/p/ros2-tutorial-for-beginners-part-893</guid><dc:creator><![CDATA[Satyarth Shree]]></dc:creator><pubDate>Thu, 26 Mar 2026 13:18:11 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!g9Pv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!g9Pv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!g9Pv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png 424w, https://substackcdn.com/image/fetch/$s_!g9Pv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png 848w, https://substackcdn.com/image/fetch/$s_!g9Pv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png 1272w, https://substackcdn.com/image/fetch/$s_!g9Pv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!g9Pv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png" width="1024" height="842" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:842,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:451096,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/190825824?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!g9Pv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png 424w, https://substackcdn.com/image/fetch/$s_!g9Pv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png 848w, https://substackcdn.com/image/fetch/$s_!g9Pv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png 1272w, https://substackcdn.com/image/fetch/$s_!g9Pv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7af07db5-5d1a-4fd9-bab1-60ab3a1d884d_1024x842.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The 5th part of the ROS2 Tutorial Series, titled<br><strong>&#8220;ROS2 Tutorial for Beginners (Part 5): Managing ROS2 Workspace Storage Using Linux Commands&#8221;</strong>, is now live.</p><p>For those who are new here, <strong>ROS Simplified</strong> is a publication where I share beginner-friendly tutorials for ROS 2.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading ROS  Simplified! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>In the previous parts, we focused on core ROS2 concepts. In this part, I&#8217;ve covered something slightly different &#8212; not directly a ROS concept, but something that becomes really useful when you start working with multiple ROS2 workspaces.</p><p>This is something I personally found useful while managing my own workspace.</p><p>This part has been published on my Medium account.</p><p>Click on the button below to read it.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros2-tutorial-for-beginners-part-5-managing-ros2-workspace-storage-using-linux-commands-f0c0b76c9559&quot;,&quot;text&quot;:&quot;ROS2 Tutorial for Beginners (Part 5)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros2-tutorial-for-beginners-part-5-managing-ros2-workspace-storage-using-linux-commands-f0c0b76c9559"><span>ROS2 Tutorial for Beginners (Part 5)</span></a></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading ROS  Simplified! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[ROS2 Tutorial for Beginners (Part 4) Is Out — Understanding rclpy.spin()]]></title><description><![CDATA[A quick update from the ROS2 tutorial series &#8212; Part 4 is now out and focuses on understanding the rclpy.spin() function.]]></description><link>https://rossimplified.substack.com/p/ros2-tutorial-for-beginners-part</link><guid isPermaLink="false">https://rossimplified.substack.com/p/ros2-tutorial-for-beginners-part</guid><dc:creator><![CDATA[Satyarth Shree]]></dc:creator><pubDate>Fri, 13 Mar 2026 11:29:57 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!TYLx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TYLx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TYLx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!TYLx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!TYLx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!TYLx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TYLx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:956563,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/190823837?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TYLx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!TYLx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!TYLx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!TYLx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe8f8dbae-b604-4e55-93ff-c9aacafbebbb_1536x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>For those who don&#8217;t know, <strong>ROS Simplified</strong> is a publication where I share beginner-friendly tutorials for ROS 2.</p><p>The 4th part of the tutorial series, titled <strong>&#8220;</strong>ROS2 Tutorial for Beginners (Part 4): Understanding rclpy.spin()<strong>&#8221;</strong>, is now live.</p><p>As you already know, in the first three parts we covered some fundamental topics such as:</p><ul><li><p>Creating a workspace</p></li><li><p>Creating a package</p></li><li><p>Creating a node</p></li><li><p>Tools like rqt_graph</p></li><li><p>Commands like <code>ros2 node list</code></p></li></ul><p>In Part 4, I discuss the <code>spin()</code><strong> </strong>function in ROS 2, since it forms an important foundation for understanding different types of callbacks that we will explore later in the series.</p><p>This part hasn&#8217;t been posted on Substack. Instead, it has been published on my Medium account.</p><p>Click on the button below to read it.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros2-tutorial-for-beginners-part-4-understanding-rclpy-spin-and-creating-a-class-based-node-511c124f55c0&quot;,&quot;text&quot;:&quot;ROS2 Tutorial for Beginners (Part 4)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros2-tutorial-for-beginners-part-4-understanding-rclpy-spin-and-creating-a-class-based-node-511c124f55c0"><span>ROS2 Tutorial for Beginners (Part 4)</span></a></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading ROS  Simplified! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[ROS 2 Tutorial for Beginners (Part 3): Understanding ROS 2 Nodes (Sub Part 2)]]></title><description><![CDATA[Sourcing, Running, and Inspecting Custom ROS 2 Nodes]]></description><link>https://rossimplified.substack.com/p/ros-2-tutorial-for-beginners-part</link><guid isPermaLink="false">https://rossimplified.substack.com/p/ros-2-tutorial-for-beginners-part</guid><dc:creator><![CDATA[Satyarth Shree]]></dc:creator><pubDate>Mon, 02 Feb 2026 13:24:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!IIzZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IIzZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IIzZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!IIzZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!IIzZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!IIzZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IIzZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1802044,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/184115726?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IIzZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!IIzZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!IIzZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!IIzZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ae976-7cd2-4902-bdfa-5e3a980422be_1024x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1>About This Article</h1><p>This article is the sequel of  ROS 2 Tutorial for Beginners (Part 3): Understanding ROS 2 Nodes (Sub Part 1). Therefore it is necessary to read the sub part 1 before continuing to read this tutorial. Click below to read it.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;81238eb7-1545-4d86-be36-86ef1093dc11&quot;,&quot;caption&quot;:&quot;About This Article&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;ROS 2 Tutorial for Beginners (Part 3): Understanding ROS 2 Nodes (Sub Part 1)&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:365509441,&quot;name&quot;:&quot;Satyarth Shree&quot;,&quot;bio&quot;:&quot;Founder &amp; Editor of ROS 2 Simplified &#8212; a learner-driven publication dedicated to making ROS 2 concepts clear, practical, and beginner-friendly. Passionate about robotics, automation, and simplifying complex systems.&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1528fcfc-d0e0-40d1-81ca-b21f1438a327_509x509.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-01-04T13:53:04.751Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/$s_!-GDm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://rossimplified.substack.com/p/ros-2-tutorial-part-3-sub-part-1&quot;,&quot;section_name&quot;:&quot;ROS 2 Tutorial for Beginners&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:182561360,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:2,&quot;comment_count&quot;:0,&quot;publication_id&quot;:7355247,&quot;publication_name&quot;:&quot;ROS  Simplified&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!Z_Q8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Febaaaafe-fc99-4955-8866-15a24768d242_1024x1024.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>In the previous part of this ROS 2 Tutorial series we discussed how we can run built-in nodes and how can we introspect them using various tools provided by ROS. </p><p>In this part we will discuss how can we run our own custom made nodes. Most importantly what are the correct set of procedures that a ROS 2 learner needs to follow to run his own made nodes.<br>This is exactly what we will be discussing in this tutorial.</p><p>In this tutorial I will use a basic node which I created in the part 2 of this tutorial series. If you are aware how to create a node that displays a message then you can proceed with this part but if you aren&#8217;t then I recommend that you should first read part 2 before continuing with this one. Press the button given below to read it.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-2-creating-your-first-node-c33e92d54b5c&quot;,&quot;text&quot;:&quot;ROS 2 Tutorial for Beginners (Part 2)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-2-creating-your-first-node-c33e92d54b5c"><span>ROS 2 Tutorial for Beginners (Part 2)</span></a></p><p>If you wish you can continue reading this part without going through part 2 as every tutorial I write is meant to be a standalone article but to gain 100% understanding it is recommended that you go through it once.</p><p>We will be using a node that we created in part 2 of this tutorial series. To install that node in your system go to this github repository: </p><p><a href="https://github.com/Satyarth-Shree/ros2-beginner-part-2-python-node">https://github.com/Satyarth-Shree/ros2-beginner-part-2-python-node</a></p><p>and then follow the instructions written in the README.md file to get this node installed in your system.</p><p>We will run this node later on in this blog so it is recommended to install it in your system so that you can also take advantage of a hands on practice session while reading this blog.</p><p><em><strong>Alright let&#8217;s continue</strong></em></p><div><hr></div><h1>Section 1: Steps to Run a Custom Node</h1><p>By custom node I mean to say a node that you have created yourself. Running a basic custom node requires you to execute four main steps. They are explained in the exact order in which they needs to be executed below.</p><h2>Step 1: Creating a Node</h2><p>The first step before trying to run a node is obviously creating it first. After creating a node you have to create an executable out of it. This is one of the most crucial step and the one where most people make a mistake.</p><p>In <a href="https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-2-creating-your-first-node-c33e92d54b5c">part 2</a> we have done exactly this.</p><p>Move to step 2 only after your node is correctly setup.</p><h2>Step 2: Sourcing ROS 2 Environment</h2><p>After your node has been successfully created and saved it is recommended to source your ROS 2 environment again. To do this type the following command:</p><pre><code>source /opt/ros/&lt;distro&gt;/setup.bash</code></pre><p>Replace &lt;distro&gt; by your ROS 2 distribution. If you are using ROS 2 humble distribution then write the following command to source your ROS 2 environment:</p><pre><code>source /opt/ros/humble/setup.bash</code></pre><p>If you are using ROS 2 Jazzy distribution then write the following command:</p><pre><code>source /opt/ros/jazzy/setup.bash</code></pre><p>Running this command ensures that ROS 2 functionalities can be used.</p><h2>Step 3: Sourcing Your ROS 2 Workspace</h2><p><em><strong>Important Note: Clone the repository that I have shared previously before continuing further.</strong></em></p><p>A node is always created inside a package and a package always exists inside a workspace. After running colcon build, our package and node executables are installed in the install folder. So we now have to run the following command:</p><pre><code>source ~/&lt;workspace_name&gt;/install/setup.bash</code></pre><p>Replace &lt;workspace_name&gt; by the name of your workspace inside which you have created your node.</p><p>This command updates our ROS 2 environment so that ROS 2 can locate and run our node. The name of my workspace is &#8220;ws&#8221; so I will write the following command:</p><pre><code>source ~/ws/install/setup.bash</code></pre><p>This is the same workspace inside which my node that I created in part 2 exists. I have already shared the link of my github repository and also the instructions on how to get this node working on your system (in the README.md file). Read those instructions carefully.</p><p>Let&#8217;s assume you have created a folder named &#8220;ws_1&#8221; inside which you have cloned this repo. So now type the following command:</p><pre><code>cd ~/ws_1/</code></pre><p>This will ensure that you are currently in the folder inside which you have cloned the repository. Now run the following command:</p><pre><code>colcon build</code></pre><p>This will build your workspace. Now run the following command:</p><pre><code>source ~/ws_1/install/setup.bash</code></pre><p>Replace &#8220;ws_1&#8221; by the name of your workspace. Your workspace is the folder inside which you have cloned the github repository that I have shared with you.</p><h2>Step 4: Running Your Node</h2><p>To run a node you have to type a command having the following syntax:</p><pre><code>ros2 run &lt;package_name&gt; &lt;executable_name&gt;</code></pre><p>After run you have to first write the name of the package inside which your node exists and the name of the executable that will run your node. Remove greater than and less than signs while writing actual commands. They are only used to write syntax.</p><p>Now run the following command:</p><pre><code>ros2 run py_pkg my_node</code></pre><p>and you will see a output like this being displayed:</p><pre><code>[INFO] [1768188057.615481153] [python_node]: I am learning ROS 2.</code></pre><p>It is necessary to source your workspace before trying to run your node that you have created. Whenever you run &#8220;colcon build&#8221; after creating a node your executables are basically installed in the install folder of your workspace so it becomes necessary to source it. </p><p>Since you have cloned my github repository so the name of package and executable will be the same. </p><div><hr></div><h1>Section 2: Errors You are Possibly Getting</h1><p>Maybe you are not getting this output and you are getting some error instead. This can happen because of two possibilities.</p><h2>Error No.1: Running colcon build from the wrong folder</h2><p>I asked you to run colcon build from the folder inside which you have cloned my github repository. If you ran colcon build while being inside src folder or some other folder apart, then your workspace hasn&#8217;t been properly created yet. Make sure that the folder inside which you have cloned your repository has the following four folders in it:</p><pre><code>1. build
2. install
3. log
4. src</code></pre><p>The src folder is the one which you cloned from my github repository while the rest three folders are the ones which are automatically generated when you run colcon build. </p><p>If your folder doesn&#8217;t has this folder structure then you have run colcon build from the wrong place/folder. </p><p>But there is nothing to worry. This mistake is recoverable. Just go to that wrong directory where you have ran colcon build using the &#8220;cd&#8221; command and type the following command:</p><pre><code>rm -rf build install log</code></pre><p>This command will delete build, install and log folders from that directory. Now go to your workspace using the &#8220;cd&#8221; command and make sure you are at the correct folder before running &#8220;colcon build&#8221;. Right now inside that folder you will only see one folder which is src because you have used &#8220;colcon build&#8221; in some other folder so build, install and log folders haven&#8217;t been generated yet in your main workspace.</p><p>Now when you are in your workspace folder inside which your src folder is present run the command:</p><pre><code>colcon build</code></pre><p>To successfully generate your workspace. Let&#8217;s assume that you have cloned my github repository in a folder named &#8220;ws_1&#8221; so execute the commands given below one by one in the exact same chronological order:</p><pre><code>1. cd ~/ws_1/
2. colcon build
3. source install/setup.bash</code></pre><p>Now type the following command to run your node:</p><pre><code>ros2 run py_pkg my_node</code></pre><p>It will most probably run now. If you are still encountering some errors then make sure you have followed all the steps currently in this section and then proceed to the next one where we are discussing about some another error.</p><h2>Error No.2: Not Sourcing Your Workspace</h2><p>It is possible that your workspace is correctly configured but you are still not able to get your node running. If after typing the following command:</p><pre><code>ros2 run py_pkg my_node</code></pre><p>you are getting the following error:</p><pre><code>Package 'py_pkg' not found</code></pre><p>Then it is certain that you are doing this mistake.</p><p>You are getting this error because ROS 2 cannot identify or locate your package. This happens when you haven&#8217;t sourced your workspace correctly.</p><p>Let&#8217;s assume that the name of your workspace is &#8220;ws_1&#8221;. So run the following command first:</p><pre><code>source ~/ws_1/install/setup.bash</code></pre><p>Replace ws_1 by the name of your workspace. After running this command now again run the the following command:</p><pre><code>ros2 run py_pkg my_node</code></pre><p>Doing this will completely fix the &#8220;package not found&#8221; error. I also did exactly this as shown in the figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cUWt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cUWt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png 424w, https://substackcdn.com/image/fetch/$s_!cUWt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png 848w, https://substackcdn.com/image/fetch/$s_!cUWt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png 1272w, https://substackcdn.com/image/fetch/$s_!cUWt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cUWt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png" width="803" height="178" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/da03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:178,&quot;width&quot;:803,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:33176,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/184115726?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cUWt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png 424w, https://substackcdn.com/image/fetch/$s_!cUWt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png 848w, https://substackcdn.com/image/fetch/$s_!cUWt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png 1272w, https://substackcdn.com/image/fetch/$s_!cUWt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fda03c32d-ff9e-47b8-bfa4-34538786e827_803x178.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>As you can see in the figure shared above, I was getting the &#8220;package not found&#8221; error by then I sourced my workspace and the error was resolved. The name of my workspace is &#8220;ws&#8221;, so I replaced &#8220;ws_1&#8221; by &#8220;ws&#8221;. You have to also do the same. Replace &#8220;ws_1&#8221; by the name of your workspace.</p><div><hr></div><p>This was a short tutorial which is basically aimed at explaining how you can run your own made nodes. In previous part I discussed on how you can run multiple nodes together and how you can introspect them. These concepts are very important for developing an understanding of nodes so make sure to read them too.</p><div><hr></div><h1>What&#8217;s Next</h1><p>We have covered the following concepts so far in our tutorial series:</p><ol><li><p>Creating a Workspace</p></li><li><p>Creating a Package</p></li><li><p>Creating your own custom node that displays a message</p></li><li><p>Running Built In Nodes</p></li><li><p>Running Custom Nodes</p></li></ol><p>Edit:<br>The next part which is Part 4 of our ROS 2 Tutorial series has been released. Click here to read it:</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros2-tutorial-for-beginners-part-4-understanding-rclpy-spin-and-creating-a-class-based-node-511c124f55c0&quot;,&quot;text&quot;:&quot;ROS 2 Tutorial for Beginners (Part 4)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros2-tutorial-for-beginners-part-4-understanding-rclpy-spin-and-creating-a-class-based-node-511c124f55c0"><span>ROS 2 Tutorial for Beginners (Part 4)</span></a></p><div><hr></div><h1><strong>About The Publication: ROS Simplified</strong></h1><p><em>ROS Simplified</em> is a learner-driven publication dedicated to making ROS (Robot Operating System) concepts clear, practical, and accessible. We provide tutorials, conceptual explainers, and project walkthroughs designed to help students, hobbyists, and engineers understand and apply ROS efficiently.</p><p>This is one of my initiatives to contribute helpful content to the ROS community. If you also have some experience with ROS and want to become a writer then visit the publication&#8217;s page and go to <strong>Become a Contributor</strong> tab to apply and get added as a contributor of this publication.</p><p>If the content provided by our publication is helping you to learn more about ROS 2 and you want to keep receiving this content then do subscribe our publication so that you can directly receive our articles in your inbox.</p><p><strong>- From Satyarth Shree, Founder and Editor-In-Chief of ROS Simplified</strong></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Subscribe to receive tutorials like this from ROS Simplified for free!</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h1><strong>About The Author</strong></h1><p>Hi, I am Satyarth Shree a first semester BTech Robotics and Automation student at Lovely Professional University (LPU), India. I am an aspiring robotics engineer who is publicly documenting his learning journey using platforms like medium and substack. My areas of interests include ROS, python and mathematics. Currently I am focusing on ROS more. I have also started a publication named ROS Simplified to make ROS accessible to everyone by providing beginner friendly tutorials free of cost.</p><h2><strong>Let&#8217;s Connect</strong></h2><p><em><strong>My Github</strong>: <a href="https://github.com/Satyarth-Shree">https://github.com/Satyarth-Shree</a><br><strong>My LinkedIn:</strong> <a href="https://www.linkedin.com/in/satyarth-shree-761357374/">https://www.linkedin.com/in/satyarth-shree-761357374/</a><br><strong>My CodeWars:</strong> <a href="https://www.codewars.com/users/Satyarth-Shree">https://www.codewars.com/users/Satyarth-Shree</a><br><strong>My X:</strong> <a href="https://x.com/BuildUnderdog">https://x.com/BuildUnderdog</a><br><strong>My Hashnode:</strong> <a href="https://hashnode.com/@SatyarthShree">https://hashnode.com/@SatyarthShree</a><br><strong>My Portfolio:</strong> <a href="https://satyarth-shree.github.io/My-Portfolio/">https://satyarth-shree.github.io/My-Portfolio/</a><br><strong>To professionally contact me for internships, collaborations or similar opportunities click here:</strong> <a href="https://forms.gle/SH9bj1oJwqPtJtD26">https://forms.gle/SH9bj1oJwqPtJtD26</a></em></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[ROS 2 Tutorial for Beginners (Part 3): Understanding ROS 2 Nodes (Sub Part 1)]]></title><description><![CDATA[What nodes really are, how multiple nodes run together, and how to inspect them using ROS 2 tools.]]></description><link>https://rossimplified.substack.com/p/ros-2-tutorial-part-3-sub-part-1</link><guid isPermaLink="false">https://rossimplified.substack.com/p/ros-2-tutorial-part-3-sub-part-1</guid><dc:creator><![CDATA[Satyarth Shree]]></dc:creator><pubDate>Sun, 04 Jan 2026 13:53:04 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!-GDm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-GDm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-GDm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!-GDm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!-GDm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!-GDm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-GDm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2492913,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-GDm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!-GDm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!-GDm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!-GDm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0903e2e9-aa9c-4a80-b459-20b80f6c60cb_1536x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1> About This Article</h1><p>This tutorial has been written for beginners who wish to practically understand what a ROS 2 node is and how does it works.</p><p>If you are someone who wants to see nodes in action and how they work with each other then you have came to the right place.</p><p>I will not talk about any bookish definitions. I will show you how a node works and how you can analyze a node while it is working.</p><p>I also recommend you to do what I am doing step by step. Open this blog and your terminal simultaneously and follow what I am going to show you to extract maximum value from this tutorial. </p><p>This tutorial is a hands on practical guide so I will show you the working of a node and how it interacts with other nodes practically.</p><p>If you haven&#8217;t installed ROS then read part 1 of this tutorial series first.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros2-tutorial-for-beginners-part-1-creating-your-first-workspace-and-package-677f558e1f81&quot;,&quot;text&quot;:&quot;ROS 2 Tutorial for Beginners (Part 1)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros2-tutorial-for-beginners-part-1-creating-your-first-workspace-and-package-677f558e1f81"><span>ROS 2 Tutorial for Beginners (Part 1)</span></a></p><p>This is the third part of our ROS 2 Tutorial for Beginners Series and a continuation of the second part. If you are interested then you can read part 2 also.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-2-creating-your-first-node-c33e92d54b5c&quot;,&quot;text&quot;:&quot;ROS 2 Tutorial for Beginners (Part 2)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-2-creating-your-first-node-c33e92d54b5c"><span>ROS 2 Tutorial for Beginners (Part 2)</span></a></p><p><em><strong>So let&#8217;s get started</strong></em></p><div><hr></div><h1>Section 1: Set Your System for a Smoother Workflow</h1><p>In later sections of this blog when we will run multiple nodes together you will have to open multiple terminals together. </p><p>While you can open multiple terminals using the terminal which is pre installed on your Linux system but I recommend using another command line interface known as terminator. In terminator you can split your terminal into multiple terminals without even touching your mouse therefore increasing speed and easiness to navigate and use command line.</p><p>To install terminator follow the steps given below:</p><ol><li><p>Connect your system to an active internet connection</p></li><li><p>Open your terminal</p></li><li><p>Type the following command: sudo apt install terminator</p></li></ol><p>After you type this command installation of terminator will start. It is a very lightweight command line interface so it won&#8217;t take much of your memory and will be installed quickly. Once installation is finished go to your apps section and open terminator. You will see the following interface:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!haLm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!haLm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!haLm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!haLm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!haLm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!haLm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png" width="814" height="589" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:589,&quot;width&quot;:814,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14767,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!haLm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!haLm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!haLm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!haLm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2f86706-fbe9-4d12-a1ac-7b1d4fa083f8_814x589.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now click on CLI (Command Line Interface) and press Ctrl + Shift + E and you will see that your terminator has been vertically split into two parts as shown in figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lFBP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lFBP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!lFBP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!lFBP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!lFBP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lFBP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png" width="814" height="589" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:589,&quot;width&quot;:814,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19844,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lFBP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!lFBP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!lFBP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!lFBP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F282c9ea8-46ac-48f8-b266-8dd1093f96ce_814x589.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>By Ctrl + Shift + E, I meant to say that press Ctrl, Shift and E simultaneously on your keyboard.<br>Now click on any one of these parts and press Ctrl + Shift + O and you will see that the part which you have clicked will further split into two horizontal parts as shown in figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Hou0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Hou0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!Hou0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!Hou0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!Hou0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Hou0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png" width="814" height="589" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a2589967-ef26-47e6-8b80-76440d30e291_814x589.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:589,&quot;width&quot;:814,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:22451,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Hou0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!Hou0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!Hou0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!Hou0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa2589967-ef26-47e6-8b80-76440d30e291_814x589.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now do the same with the part that is left.</p><ol><li><p>Click on it once to select that part</p></li><li><p>Press Ctrl + Shift + O</p></li></ol><p>And you will see that now you have four different command line windows in which you can type and run commands as shown in the figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Qmix!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Qmix!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!Qmix!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!Qmix!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!Qmix!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Qmix!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png" width="814" height="589" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:589,&quot;width&quot;:814,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:27522,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Qmix!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!Qmix!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!Qmix!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!Qmix!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc7cf91ff-35f4-4610-b0b2-cf19abc4f46f_814x589.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now click on any one of these 4 parts to select that part and then press Ctrl + Shift + W. You will notice that doing this will destroy that part and your terminal will now look somewhat like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WiNp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WiNp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!WiNp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!WiNp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!WiNp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WiNp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png" width="814" height="589" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:589,&quot;width&quot;:814,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:26443,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WiNp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!WiNp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!WiNp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!WiNp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42380d14-3fd1-47ea-88be-59344e1ca40c_814x589.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now again click on one part and press Ctrl + Shift + W. Another part will be destroyed and your terminator will look somewhat like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5toU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5toU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!5toU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!5toU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!5toU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5toU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png" width="814" height="589" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/db413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:589,&quot;width&quot;:814,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19844,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5toU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png 424w, https://substackcdn.com/image/fetch/$s_!5toU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png 848w, https://substackcdn.com/image/fetch/$s_!5toU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png 1272w, https://substackcdn.com/image/fetch/$s_!5toU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb413abb-6cc0-4017-9d92-c8d4c0ff99d8_814x589.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>When you open a terminator you will see a single command line interface (CLI). These commands can allow you to create multiple CLI and then destroy them if you don&#8217;t need them.</p><p>To summarize:</p><ol><li><p>Click a CLI to select it and then press</p><ol><li><p>Ctrl + Shift + E to split vertically</p></li><li><p>Ctrl + Shift + O to split horizontally</p></li><li><p>Ctrl + Shift + W to destroy that selected CLI window</p></li></ol></li><li><p>Each part after splitting can be called a window of the Command Line Interface (CLI) which is our terminator.</p></li></ol><p>Although installing terminator is not mandatory but it will help you increase your efficiency once you get a knack of it so I recommend using it.</p><div><hr></div><h1>Section 2: Running a Node</h1><p>Now let&#8217;s run a node. Before running a node you should know how you can run a node. To run a node you have to run a command having the following syntax:</p><pre><code>ros2 run &lt;package_name&gt; &lt;name_of_executable&gt;</code></pre><p>A node is always created inside a package so to run a node you have to write the name of the package inside which your node exists. After you have created your node you have to create an executable to run that node. So after writing package name you have to write the name of your executable. Do not write greater than (&gt;) or less than (&lt;) signs when trying to run a node. These are just used while writing syntax.</p><p>The name of your executable and the name of your node may or may not be same so don&#8217;t get confused.</p><p>To simplify you can say there are two types of nodes in ROS 2. They are:</p><ol><li><p>Built - In Nodes: These are nodes which are already installed when you install ROS 2. So they can be considered as built-in or pre installed nodes.</p></li><li><p>Custom Nodes: These are the nodes that you create yourself.</p></li></ol><p>There is a small change in the procedure to run Built - In and Custom Nodes which we will discover in subsequent sections of this blog.</p><p>First we will discuss how to run a built - in node by running a few of them.</p><h2>Running a Built - In Node</h2><p>The first step before running a ROS 2 command is to source ROS 2. To source ROS 2 type the following command:</p><pre><code>source /opt/ros/&lt;distro&gt;/setup.bash </code></pre><p>Replace &lt;distro&gt; by your ROS 2 distribution. If you are using humble then you should execute the following command:</p><pre><code>source /opt/ros/humble/setup.bash</code></pre><p>If you are using Jazzy then you should write:</p><pre><code>source /opt/ros/jazzy/setup.bash</code></pre><p>Simply replace &lt;distro&gt; by your ROS 2 distribution as shown above.</p><p>We are going to run a built-in node which publishes messages. To do so after sourcing your ROS 2 environment split your terminator CLI into four windows (as already discussed above) and run the following command in one of those windows:</p><pre><code>ros2 run demo_nodes_cpp talker</code></pre><p>You will start seeing a series of &#8220;Hello World&#8221; messages getting displayed as shown in the figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OL0E!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OL0E!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png 424w, https://substackcdn.com/image/fetch/$s_!OL0E!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png 848w, https://substackcdn.com/image/fetch/$s_!OL0E!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!OL0E!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OL0E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:169163,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!OL0E!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png 424w, https://substackcdn.com/image/fetch/$s_!OL0E!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png 848w, https://substackcdn.com/image/fetch/$s_!OL0E!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!OL0E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e0dc7dd-8ebb-40a3-98d1-e2bbe6ab9704_1920x1080.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>These messages will keep on displaying again and again until you terminate this node. Now take a closer look at the command which you used to start this node. It is:</p><pre><code>ros2 run demo_nodes_cpp talker</code></pre><p>As I earlier told you that after ros2 run we write the name of the package inside which our node exists and then the name of our executable. So in this case the name of our package is demo_nodes_cpp and the name of our executable is talker.</p><p>Alright so now one of our nodes is already running on our system. But how can we check which node is running. There are essentially two methods to do so.</p><h3>Method 1: Using ros2 node list command</h3><p>While your node is running click on another CLI window (one of parts that you have generated after splitting your terminator) and type the following command:</p><pre><code>ros2 node list </code></pre><p>Then you will see the name of the node which is currently running as show in the figure given below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IgFP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IgFP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png 424w, https://substackcdn.com/image/fetch/$s_!IgFP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png 848w, https://substackcdn.com/image/fetch/$s_!IgFP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png 1272w, https://substackcdn.com/image/fetch/$s_!IgFP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IgFP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png" width="994" height="738" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:738,&quot;width&quot;:994,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:88225,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IgFP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png 424w, https://substackcdn.com/image/fetch/$s_!IgFP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png 848w, https://substackcdn.com/image/fetch/$s_!IgFP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png 1272w, https://substackcdn.com/image/fetch/$s_!IgFP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb8e09d1a-f54d-4e29-8f7b-50cfffdb683e_994x738.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As you can see in one of the CLI window our node is running and in another CLI window when we typed &#8220;ros2 node list&#8221; then the name of the node that is running which is talker was displayed.</p><p>Now click on the CLI where your node is running to select it and press Ctrl + C. This key will stop your node as shown in the figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lfvk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lfvk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png 424w, https://substackcdn.com/image/fetch/$s_!lfvk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png 848w, https://substackcdn.com/image/fetch/$s_!lfvk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png 1272w, https://substackcdn.com/image/fetch/$s_!lfvk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lfvk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png" width="994" height="738" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:738,&quot;width&quot;:994,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:94359,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lfvk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png 424w, https://substackcdn.com/image/fetch/$s_!lfvk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png 848w, https://substackcdn.com/image/fetch/$s_!lfvk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png 1272w, https://substackcdn.com/image/fetch/$s_!lfvk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92186ccd-a121-42f2-a272-1e007b5a2328_994x738.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now again type ros2 node list in another terminal and you will see that no name is being displayed as shown in the figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!JRhb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!JRhb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png 424w, https://substackcdn.com/image/fetch/$s_!JRhb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png 848w, https://substackcdn.com/image/fetch/$s_!JRhb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png 1272w, https://substackcdn.com/image/fetch/$s_!JRhb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!JRhb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png" width="994" height="738" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:738,&quot;width&quot;:994,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:97234,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!JRhb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png 424w, https://substackcdn.com/image/fetch/$s_!JRhb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png 848w, https://substackcdn.com/image/fetch/$s_!JRhb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png 1272w, https://substackcdn.com/image/fetch/$s_!JRhb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59535a3a-20dd-417b-9645-0a7c240ecb5a_994x738.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As you can see after you terminated your node by pressing &#8220;Ctrl + C&#8221; and then ran the command &#8220;ros2 node list&#8221; no node was displayed because now no node is running.</p><p>So we can conclude that the command: &#8220;ros2 node list&#8221; displays the names of those nodes which are currently running. </p><p>There is a another method to check which nodes are running.</p><h3>Method 2: Using rqt_graph</h3><p>Again run the node by typing the following command in one of the terminals:</p><pre><code>ros2 run demo_nodes_cpp talker</code></pre><p>Now in another terminal type the following command:</p><pre><code>rqt_graph</code></pre><p>And following screen will open before you:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bHRa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bHRa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png 424w, https://substackcdn.com/image/fetch/$s_!bHRa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png 848w, https://substackcdn.com/image/fetch/$s_!bHRa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png 1272w, https://substackcdn.com/image/fetch/$s_!bHRa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bHRa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png" width="1391" height="790" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:790,&quot;width&quot;:1391,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:37267,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bHRa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png 424w, https://substackcdn.com/image/fetch/$s_!bHRa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png 848w, https://substackcdn.com/image/fetch/$s_!bHRa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png 1272w, https://substackcdn.com/image/fetch/$s_!bHRa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d80c046-48c5-4143-b49d-f423aaa278c6_1391x790.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>On top left corner you can see a refresh icon written just below Node Graph. The icon looks like this:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KEjq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KEjq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png 424w, https://substackcdn.com/image/fetch/$s_!KEjq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png 848w, https://substackcdn.com/image/fetch/$s_!KEjq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png 1272w, https://substackcdn.com/image/fetch/$s_!KEjq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KEjq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png" width="36" height="40" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d48545f5-a810-4160-8115-0a9b5c431b01_36x40.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:40,&quot;width&quot;:36,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1254,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KEjq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png 424w, https://substackcdn.com/image/fetch/$s_!KEjq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png 848w, https://substackcdn.com/image/fetch/$s_!KEjq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png 1272w, https://substackcdn.com/image/fetch/$s_!KEjq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48545f5-a810-4160-8115-0a9b5c431b01_36x40.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Click on this icon once to refresh rqt_graph and you will see the following node in the graph:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lsw8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lsw8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png 424w, https://substackcdn.com/image/fetch/$s_!lsw8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png 848w, https://substackcdn.com/image/fetch/$s_!lsw8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png 1272w, https://substackcdn.com/image/fetch/$s_!lsw8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lsw8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png" width="1384" height="784" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:784,&quot;width&quot;:1384,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:84769,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lsw8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png 424w, https://substackcdn.com/image/fetch/$s_!lsw8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png 848w, https://substackcdn.com/image/fetch/$s_!lsw8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png 1272w, https://substackcdn.com/image/fetch/$s_!lsw8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff135526f-e2eb-41ff-a03a-fd4cdd9b2639_1384x784.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>rqt_graph is basically a tool which you can use to see the name of the node which is currently running visually. As you can see the name &#8220;/talker&#8221; is displayed which is the same name that was displayed when we executed &#8220;ros2 node list&#8221; when we were discussing about the first method.</p><p>Now close this graph by clicking on the cross icon on the top right corner and terminate your node by clicking on the terminal where it is running and then pressing &#8220;Ctrl + C&#8221;.</p><p>Now after terminating your node if you again run rqt_graph and refresh the graph then you will not see the name of any node because no node is running.</p><p>These are two methods using which you can check which node is running. These methods can also be used for Custom nodes.</p><div><hr></div><h1>Section 3: Experimenting With Nodes</h1><p>You can achieve fluency in ROS only if you intentionally try to break things and then fix them. Most people especially beginners think of their terminal as a black box in which they run a command and then wait for it to magically run without any errors.<br>What I want to say is that many beginners have a fear of terminals and commands because they don&#8217;t understand the logic behind the system they are using.</p><p>If you truly want to broaden your understanding then read some of the experiments which I did and what insights and concepts that I learned side by side while doing them. You are more than welcome if you want to try these experiments yourself as I will be talking about them in great detail.</p><h2>Experiment No.1: Running a node more than once</h2><p>Open your terminator and split it into 4 parts. In two terminals run the talker node that we ran in previous sections of this blog by typing the following command:</p><pre><code>ros2 run demo_nodes_cpp talker</code></pre><p>Your terminal will look like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3B5p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3B5p!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png 424w, https://substackcdn.com/image/fetch/$s_!3B5p!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png 848w, https://substackcdn.com/image/fetch/$s_!3B5p!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png 1272w, https://substackcdn.com/image/fetch/$s_!3B5p!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3B5p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png" width="948" height="716" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:716,&quot;width&quot;:948,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:100683,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3B5p!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png 424w, https://substackcdn.com/image/fetch/$s_!3B5p!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png 848w, https://substackcdn.com/image/fetch/$s_!3B5p!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png 1272w, https://substackcdn.com/image/fetch/$s_!3B5p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74ae7190-e240-4f3b-a2bb-a4c812e1cbf8_948x716.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This talker node is running in two terminals. Now in the third terminal run the command:</p><pre><code>ros2 node list</code></pre><p>and you will see a warning message being displayed as shown:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rjW3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rjW3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png 424w, https://substackcdn.com/image/fetch/$s_!rjW3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png 848w, https://substackcdn.com/image/fetch/$s_!rjW3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png 1272w, https://substackcdn.com/image/fetch/$s_!rjW3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rjW3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png" width="948" height="716" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e2bb5091-07fd-4550-9004-31b373ae9211_948x716.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:716,&quot;width&quot;:948,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:152778,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!rjW3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png 424w, https://substackcdn.com/image/fetch/$s_!rjW3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png 848w, https://substackcdn.com/image/fetch/$s_!rjW3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png 1272w, https://substackcdn.com/image/fetch/$s_!rjW3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2bb5091-07fd-4550-9004-31b373ae9211_948x716.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The warning states that:</p><pre><code>WARNING: Be aware that there are nodes in the graph that share an exact name, which can have unintended side effects.
/talker
/talker</code></pre><p>As you can see the warning clearly states that we are running two nodes with the same name because of which some unintended side effects might occur. Now run rqt_graph in the terminal and refresh it once. You will see the following graph:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Aw8Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png 424w, https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png 848w, https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png 1272w, https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png" width="1390" height="781" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:781,&quot;width&quot;:1390,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:84829,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png 424w, https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png 848w, https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png 1272w, https://substackcdn.com/image/fetch/$s_!Aw8Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf2dce9f-ccca-414a-b6d0-d1769aca402e_1390x781.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As you can see in rqt_graph only one node is being displayed.</p><p>So we can conclude that when we run one node two or more times simultaneously then ros2 node list displays a warning while rqt_graph displays that one node is running but there are two nodes running that have the same name.</p><p>There can be some situations in which we need to run one node multiple times simultaneously. But if we do so then the name conflict will occur as two nodes running will have the exact same name. So to resolve this issue ROS 2 provides a feature using which we can change the name of our node at run time. </p><h2>Experiment No.2: Changing Name of a Node at Runtime</h2><p>Now run talker node in one terminal and type the following command in other terminal:</p><pre><code>ros2 run demo_nodes_cpp talker --ros-args -r __node:=my_node</code></pre><p>The first part of this command which is: &#8220;ros2 run demo_nodes_cpp talker&#8221; is used to run the talker node and the second part which is: &#8220;&#8212;ros-args -r __node:=my_node&#8221; is used to change the name of our node.</p><p>The name that you will write after equal to sign will become the name of your node. Here we have written &#8220;my_node&#8221; after the equal to sign so the name of our node will change from &#8220;talker&#8221; to &#8220;my_node&#8221;.</p><p>Now after executing this command run &#8220;ros2 node list&#8221; and you will see two different names as shown in the figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!medH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!medH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png 424w, https://substackcdn.com/image/fetch/$s_!medH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png 848w, https://substackcdn.com/image/fetch/$s_!medH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png 1272w, https://substackcdn.com/image/fetch/$s_!medH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!medH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png" width="950" height="713" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:713,&quot;width&quot;:950,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:148282,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!medH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png 424w, https://substackcdn.com/image/fetch/$s_!medH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png 848w, https://substackcdn.com/image/fetch/$s_!medH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png 1272w, https://substackcdn.com/image/fetch/$s_!medH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b3faf42-e0b7-4ca7-a016-31c665116b85_950x713.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p> The two names which are being displayed after running ros2 node list are:</p><ol><li><p>talker</p></li><li><p>my_node</p></li></ol><p>This means that currently there are two nodes running one of them is named talker while the second one of them is named my_node. Technically we are running the same node in two different terminals we have just changed the name of one node while running it second time.</p><p>As you can see no warning is being displayed now because now the nodes that are running do not have the same name. Now run the rqt_graph and refresh it once. You will see the following result:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NQsV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NQsV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png 424w, https://substackcdn.com/image/fetch/$s_!NQsV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png 848w, https://substackcdn.com/image/fetch/$s_!NQsV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png 1272w, https://substackcdn.com/image/fetch/$s_!NQsV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NQsV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png" width="1389" height="784" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:784,&quot;width&quot;:1389,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:80231,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NQsV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png 424w, https://substackcdn.com/image/fetch/$s_!NQsV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png 848w, https://substackcdn.com/image/fetch/$s_!NQsV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png 1272w, https://substackcdn.com/image/fetch/$s_!NQsV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2b48164-483c-4612-8ba2-e84a814a9379_1389x784.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now you can see two names are being displayed because the two nodes that are running have different names. Earlier when two nodes were running simultaneously then only one name was being displayed in rqt_graph because they had the same name but now since the names are different so the graph will also change accordingly.</p><div><hr></div><h1>Section 4: Insights about Nodes</h1><p>If you carefully observe our discussion that we did in the previous three sections then there are 8 major things that you learned about a node. These are:</p><ol><li><p>Nodes can be broadly classified into two types. They are:</p><ol><li><p>Built - In Nodes</p></li><li><p>Custom Nodes</p></li></ol></li><li><p>Multiple nodes can run simultaneously.</p></li><li><p>If two nodes having the same name are running simultaneously and we used the command: &#8220;ros2 node list&#8221; then a warning message will be displayed.</p></li><li><p>Before running any node or ROS 2 command we have to run the following command: </p><pre><code>source /opt/ros/&lt;distro&gt;/setup.bash</code></pre><p>Here &lt;distro&gt; should be replaced by your ROS 2 distribution name.</p></li><li><p>Syntax of the command to run a node is:</p><pre><code>ros2 run &lt;package_name&gt; &lt;executable_name&gt;</code></pre></li><li><p>Syntax of a command to change the name of a node during runtime is:</p><pre><code>ros2 run &lt;package_name&gt; &lt;executable_name&gt; --ros-args -r __node:=&lt;new_node_name&gt;</code></pre><p>Remove the &lt; and &gt; signs while typing the command. They are just being used to write syntax.</p></li><li><p>There are two ways to check which nodes are currently active. They are:</p><ol><li><p>By using command: ros2 node list</p></li><li><p>By using command: rqt_graph</p></li></ol></li><li><p>Name of the executable and name of a node may or may not be same. These are two different things.</p></li></ol><div><hr></div><p>You might be confused about the difference between an executable name and a node name. This confusion will be cleared once you create your own node and then create an executable out of that node to run it.</p><p><br>In Part 2 of this tutorial series we exactly did this. We created a node and then created an executable out of it. So if you want to clear your confusion you can read the second part of this series by clicking the button given below.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-2-creating-your-first-node-c33e92d54b5c&quot;,&quot;text&quot;:&quot;ROS 2 Tutorial for Beginners (Part 2)&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://medium.com/@satyarthshree45/ros-2-tutorial-for-beginners-part-2-creating-your-first-node-c33e92d54b5c"><span>ROS 2 Tutorial for Beginners (Part 2)</span></a></p><div><hr></div><h1>Section 5: Running Another Built - In Node</h1><p>There is another Built - In Node which you can run to understand how nodes work. Open your terminator and split into 4 parts. Run the following command in one part:</p><pre><code>ros2 run turtlesim turtlesim_node </code></pre><p>Then you will see a turtle appearing on your screen like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jppM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jppM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png 424w, https://substackcdn.com/image/fetch/$s_!jppM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png 848w, https://substackcdn.com/image/fetch/$s_!jppM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png 1272w, https://substackcdn.com/image/fetch/$s_!jppM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jppM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png" width="495" height="531" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa7dbffe-c80e-4078-a015-61b676adecad_495x531.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:531,&quot;width&quot;:495,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:5810,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jppM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png 424w, https://substackcdn.com/image/fetch/$s_!jppM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png 848w, https://substackcdn.com/image/fetch/$s_!jppM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png 1272w, https://substackcdn.com/image/fetch/$s_!jppM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa7dbffe-c80e-4078-a015-61b676adecad_495x531.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now click on another CLI window and run the following command:</p><pre><code>ros2 run turtlesim turtle_teleop_key</code></pre><p>Click on the terminal where you have executed this command to select it. Now press your arrow keys and you will notice that turtle starts moving. If you press forward key the turtle moves forward, if you press backward key it moves in backward direction, if you press the right key it turns right and if you press the left key it turns left. </p><p>Now you can use command like rqt_graph and ros2 command list to check which nodes are running.</p><p>When you use rqt_graph then you will see a complex graph as shown in the figure below:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mvmj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mvmj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png 424w, https://substackcdn.com/image/fetch/$s_!mvmj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png 848w, https://substackcdn.com/image/fetch/$s_!mvmj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png 1272w, https://substackcdn.com/image/fetch/$s_!mvmj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mvmj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png" width="1388" height="790" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:790,&quot;width&quot;:1388,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:100744,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://rossimplified.substack.com/i/182561360?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mvmj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png 424w, https://substackcdn.com/image/fetch/$s_!mvmj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png 848w, https://substackcdn.com/image/fetch/$s_!mvmj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png 1272w, https://substackcdn.com/image/fetch/$s_!mvmj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee516e6e-cbdb-42d4-979b-eaca1f692f5a_1388x790.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Why such a complicated graph was displayed?</p><p>If you observe carefully then you can clearly see that you are running two different nodes and they are not working independently. They are communicating with each other.</p><p>When you are running the node &#8220;turtle_teleop_key&#8221; then you can control the turtle which appeared when you ran the node &#8220;turtlesim_node&#8221;. That means using the node &#8220;turtle_teleop_key&#8221; you are controlling the node &#8220;turtlesim_node&#8221;.</p><p>The communication between these two nodes is happening because of Topics. You might be thinking what are Topics? You will learn about them later in this tutorial series. </p><p>This communication between nodes that is happening via topics is the reason why the rqt_graph has became so complicated. Over time as you progress in your journey of learning ROS 2 you will be able to understand these graphs better.</p><div><hr></div><h1>Call To Action</h1><p>Hundreds of tutorials will fail to teach you a concept if you yourself do not try to practice it. To really learn the concepts that we have discussed in this blog you must do the following tasks:</p><ol><li><p>Run the talker node and introspect it using ros2 node list and rqt_graph</p></li><li><p>Run the turtlesim node and introspect it using ros2 node list and rqt_graph</p></li><li><p>Run these two nodes simultaneously and then again run rqt_graph</p></li><li><p>Kill one of these nodes and then again refresh and check rqt_graph</p></li><li><p>Experiment by running and then terminating these nodes to get a hang of it.</p></li></ol><p>If you have any doubt then do let me know in the comments section. I will try to reply as soon as possible.</p><div><hr></div><h1>What&#8217;s Next</h1><p>In next part which will be <strong>ROS 2 Tutorial for Beginners (Part 3): Understanding ROS 2 Nodes (Sub Part 2) </strong>we will be discussing how to run custom nodes. The next part will allow you to gain even more deep insights on how a node works. I will inform you once the next part is published.</p><p>Till the stay tuned and keep learning!</p><p>Edit:<br>Next part has been released!<br>Click on this link to read it: <a href="https://rossimplified.substack.com/p/ros-2-tutorial-for-beginners-part?r=61m4w1">https://rossimplified.substack.com/p/ros-2-tutorial-for-beginners-part?r=61m4w1</a></p><div><hr></div><h1>About The Publication: ROS Simplified</h1><p><em>ROS Simplified</em> is a learner-driven publication dedicated to making ROS (Robot Operating System) concepts clear, practical, and accessible. We provide tutorials, conceptual explainers, and project walkthroughs designed to help students, hobbyists, and engineers understand and apply ROS efficiently.</p><p>This is one of my initiatives to contribute helpful content to the ROS community. If you also have some experience with ROS and want to become a writer then visit the publication&#8217;s page and go to <strong>Become a Contributor</strong> tab to apply and get added as a contributor of this publication.</p><p>If the content provided by our publication is helping you to learn more about ROS 2 and you want to keep receiving this content then do subscribe our publication so that you can directly receive our articles in your inbox.</p><p>   <strong>     - From Satyarth Shree, Founder and Editor-In-Chief of ROS Simplified </strong></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://rossimplified.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Subscribe to receive tutorials like this from ROS Simplified for free!</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h1>About The Author</h1><p>Hi, I am Satyarth Shree a first semester BTech Robotics and Automation student at Lovely Professional University (LPU), India. I am an aspiring robotics engineer who is publicly documenting his learning journey using platforms like medium and wordpress. My areas of interests include ROS, python and mathematics. Currently I am focusing on ROS more. I have also started a publication named ROS Simplified to make ROS accessible to everyone by providing beginner friendly tutorials free of cost. </p><h2>Let&#8217;s Connect</h2><p><em><strong>My Github</strong>: <a href="https://github.com/Satyarth-Shree">https://github.com/Satyarth-Shree</a><br><strong>My LinkedIn:</strong> <a href="https://www.linkedin.com/in/satyarth-shree-761357374/">https://www.linkedin.com/in/satyarth-shree-761357374/</a><br><strong>My CodeWars:</strong> <a href="https://www.codewars.com/users/Satyarth-Shree">https://www.codewars.com/users/Satyarth-Shree</a><br><strong>My X:</strong> <a href="https://x.com/BuildUnderdog">https://x.com/BuildUnderdog</a><br><strong>My Hashnode:</strong> <a href="https://hashnode.com/@SatyarthShree">https://hashnode.com/@SatyarthShree</a><br><strong>My Portfolio:</strong> <a href="https://satyarth-shree.github.io/My-Portfolio/">https://satyarth-shree.github.io/My-Portfolio/</a><br><strong>To professionally contact me for internships, collaborations or similar opportunities click here:</strong> <a href="https://forms.gle/SH9bj1oJwqPtJtD26">https://forms.gle/SH9bj1oJwqPtJtD26</a></em></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p>]]></content:encoded></item></channel></rss>