<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Robotair - Medium]]></title>
        <description><![CDATA[Our cloud-based platform makes it easy to deploy, update, and monitor robot fleets faster, safer, and at scale. From your code to real-world execution, we bridge the gap and power modern robotics. - Medium]]></description>
        <link>https://medium.com/robotair?source=rss----d24b98a5fdea---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Robotair - Medium</title>
            <link>https://medium.com/robotair?source=rss----d24b98a5fdea---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:25:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/robotair" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Best Way to Ship Your ROS App]]></title>
            <link>https://medium.com/robotair/best-way-to-ship-your-ros-app-a53927186c35?source=rss----d24b98a5fdea---4</link>
            <guid isPermaLink="false">https://medium.com/p/a53927186c35</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Ragesh Ramachandran]]></dc:creator>
            <pubDate>Wed, 09 Apr 2025 08:01:47 GMT</pubDate>
            <atom:updated>2025-04-09T08:01:46.692Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BNNG-K20lVQVXD7zZzVEog.png" /></figure><blockquote><em>Y</em><strong><em>our deployment strategy is just as important as your application logic.</em></strong></blockquote><p>If you’re deploying ROS (Robot Operating System) applications, you’ve probably asked yourself:</p><p><strong>“Should we just Dockerize everything?”</strong></p><p><strong>“Is Snap better for OTA?”</strong></p><p><strong>“Yocto sounds cool, but is it worth the time?”</strong></p><p>You’re not alone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yxpj77scYWbmUWBmcz9B5g.png" /><figcaption>What is the best way to ship a ROS app?</figcaption></figure><p>At Robotair, we’ve had the opportunity to work with a variety of deployment strategies over the years. We’ve done our best to distill those experiences — and the lessons we’ve learned — into this article. Our founders have spent years in the trenches of deploying software to industrial robots and autonomous mobile robots (AMRs), and continue to stay closely involved in the evolving world of Robot DevOps. In this piece, we aim to share an experience-driven comparison of four widely used ROS deployment strategies:</p><ul><li>Native Builds</li><li>Docker</li><li>Snap Packages</li><li>Yocto Project</li></ul><p>Whether you’re prototyping your MVP or maintaining a fleet of 1000+ robots, this guide will help you decide the right tool for the job.</p><h3>Why ROS Deployment Strategy Matters (More Than You Think)</h3><p>A good deployment strategy means:</p><ul><li>Predictable robot behavior across your fleet</li><li>Confident, repeatable software updates</li><li>Lower operational overhead and debugging effort</li><li>Faster time-to-market with new features and patches</li></ul><p><strong>A bad one?</strong></p><p>Well, it means nightmare OTA rollbacks, dependency hell, and robots going dark mid-shift.</p><p>Your deployment approach determines:</p><ul><li>How easy it is to ship updates across different environments</li><li>Whether you can trust that “it works on my machine” means it works <em>everywhere</em></li><li>How scalable your software operation is, as your robot count grows from 5 to 5000</li></ul><p>So let’s break it down.</p><h3>The 8 Metrics That Actually Matter</h3><p>When evaluating how to deploy your ROS application, these are the dimensions we care about:</p><ol><li><strong>Reproducibility</strong> — Will the deployment behave the same on every robot, every time?</li><li><strong>Maintainability</strong> — How easy is it to update, fix, or extend over time?</li><li><strong>Image/Installation Size</strong> — How big is the footprint, especially for OTA or edge environments?</li><li><strong>Runtime Performance</strong> — Is there any latency or resource penalty?</li><li><strong>Build Speed</strong> — Can you iterate quickly?</li><li><strong>System Compatibility</strong> — Does it work beyond Ubuntu?</li><li><strong>Ease of Debugging</strong> — Can you troubleshoot without losing your mind?</li><li><strong>OTA Update Friendliness</strong> — Can you safely roll out updates at scale?</li></ol><h3>1. Docker for ROS — Developers Heaven and Reproducible</h3><p><strong>Best for:</strong> development, reproducible builds, managing dependencies, and scalable deployments</p><p><strong>Avoid if:</strong> you need ultra-light builds with built-in OTA support out of the box</p><p>Docker gives you reproducibility on steroids. With a well-structured Dockerfile, your build will behave identically on dev laptops, test benches, or real robots. No more “but it worked on my machine.”</p><p>Docker is great for:</p><ul><li>Managing multiple ROS versions across projects</li><li>Building CI/CD pipelines (like we do at Robotair)</li><li>Enabling OTA updates with tools like Balena, Kubernetes, or Docker Compose</li></ul><p><strong>Downsides?</strong> Large image sizes if you’re not careful. But you can optimize builds with multi-stage Dockerfiles and minimal base images.</p><p><strong>OTA strategy:</strong> Requires external tooling, but totally feasible with orchestration frameworks. That’s how we help teams deploy updates at Robotair.</p><h3>2. Native Builds — Ultimate Performance, Zero Abstraction</h3><p><strong>Best for:</strong> raw performance, tight resource constraints, and systems that rarely update</p><p><strong>Avoid if:</strong> you want OTA, reproducibility, or cross-platform support</p><p>Running ROS natively (via apt or source builds) is the most direct route. It gives you the absolute best runtime performance. That’s why it’s often the default for early prototypes or latency-sensitive robots.</p><p>But native installs come at a price:</p><ul><li>Reproducibility is fragile: apt installs and OS upgrades can silently break things</li><li>Harder to manage dependencies across projects</li><li>No built-in OTA or version control</li></ul><p>We’ve seen native builds work well for lab environments or single-purpose robots, but the moment you need to maintain and scale, things can get messy fast.</p><h3>3. Snap Packages — Built-in OTA</h3><p><strong>Best for:</strong> field robots, seamless OTA updates, cross-distro deployments</p><p><strong>Avoid if:</strong> your robots can’t use snapd or need very small runtime sizes</p><p>Snaps bundle everything your ROS app needs, making it portable and repeatable across many Linux distros. The real game changer? <strong>Transactional updates with automatic rollback.</strong></p><p>Snaps update silently in the background and revert on failure. For ROS deployments where uptime matters, that’s gold.</p><p><strong>Key strengths:</strong></p><ul><li>Great for OTA at scale</li><li>Reverts broken updates automatically</li><li>Works on many Linux versions, not just Ubuntu</li></ul><p>But there’s a trade-off. Snap packages can be large, and confined environments might limit access to system resources unless correctly configured.</p><h3>4. Yocto Project — Customization at its core</h3><p><strong>Best for:</strong> embedded systems, hardware-specific optimizations, and ultra-light Linux images</p><p><strong>Avoid if:</strong> you need to move fast or lack embedded Linux expertise</p><p>Yocto is not just a deployment strategy — it’s a full OS build system. You can tailor your Linux image down to the kernel, drivers, and just the ROS nodes you need.</p><p>We’ve used Yocto for industrial robot arms and AMRs where every megabyte mattered.</p><p>But don’t underestimate the learning curve. Yocto setups take time, and initial builds are heavy. That said, the resulting image can be 10x smaller and faster than any other approach.</p><p><strong>OTA?</strong> Not built-in, but tools like RAUC or SWUpdate integrate well.</p><h3>TL;DR — When to Use What</h3><p><strong>Use Docker if:</strong></p><ul><li>You want reproducible, scalable deployments</li><li>You’re building CI/CD pipelines</li><li>You need isolation for complex ROS stacks</li></ul><p><strong>Use Native Builds if:</strong></p><ul><li>You care most about raw performance</li><li>Your deployment environment is stable and not changing often</li></ul><p><strong>Use Snap if:</strong></p><ul><li>OTA updates are critical</li><li>You’re deploying on varied Linux environments</li><li>You want automatic rollback after failed updates</li></ul><p><strong>Use Yocto if:</strong></p><ul><li>You’re building for embedded hardware</li><li>You need full control over system resources</li><li>Image size and runtime determinism matter most</li></ul><h3>Choose the Strategy That Fits Your Robot</h3><p>No deployment method is universally best. The right strategy depends on your use case, scale, team skills, and operational environment.</p><p>At Robotair, we’ve seen firsthand how choosing the right method saves teams months of effort — and the wrong one costs them even more.</p><p>If you’re struggling to pick or want help implementing OTA deployments at scale, reach out to us.</p><p><strong>Want to ship your ROS apps with confidence?</strong></p><p>👉 <a href="https://robotair.io/">Get early access to Robotai</a>r</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a53927186c35" width="1" height="1" alt=""><hr><p><a href="https://medium.com/robotair/best-way-to-ship-your-ros-app-a53927186c35">Best Way to Ship Your ROS App</a> was originally published in <a href="https://medium.com/robotair">Robotair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Your Robotics Startup Needs CI/CD From Day One]]></title>
            <link>https://medium.com/robotair/why-your-robotics-startup-needs-ci-cd-from-day-one-1db08d4ac689?source=rss----d24b98a5fdea---4</link>
            <guid isPermaLink="false">https://medium.com/p/1db08d4ac689</guid>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[robot-operating-system]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[robotics]]></category>
            <dc:creator><![CDATA[Ragesh Ramachandran]]></dc:creator>
            <pubDate>Sun, 16 Feb 2025 21:37:38 GMT</pubDate>
            <atom:updated>2026-04-08T09:01:41.431Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZAVyEJNpGCuMSSc9SrwjTQ.png" /></figure><p>You’ve been there. After weeks of development, your team finally releases a new version of the controller. It works flawlessly in testing. Confidence is high. The next step? Deploy it across your fleet. What could possibly go wrong?</p><p>Then, reality hits.</p><p>Minutes after deploying the update, your robots start behaving strangely. Some won’t respond to commands. Others misjudge turns and veer off course. A few just stop working altogether. Your team scrambles — was it incorrect PID tuning? A mismatched firmware version? A broken dependency? Turns out, it’s all of the above, and suddenly, what seemed like a small update has turned into a full-blown crisis.</p><p>The worst part? Rolling back isn’t simple. Your team spends hours manually patching each robot, wasting valuable time. That’s when it hits you: <em>you’ve built an amazing robot, but without a safe and reliable way to deploy updates, every change is a potential disaster.</em></p><h3>The Cost of Ignoring CI/CD in Robotics</h3><p>CI/CD (Continuous Integration and Continuous Deployment) is often considered a luxury in early-stage robotics startups. Many teams believe they can afford to “handle deployments manually” until they scale. But here’s the reality:</p><ul><li><strong>Manual deployments waste time</strong> — Every bug fix or feature update requires tedious and error-prone steps.</li><li><strong>Inconsistent environments cause failures</strong> — What works in one robot might not work in another due to subtle differences.</li><li><strong>Debugging is painful without automation</strong> — Without automated testing and logs, pinpointing failures takes exponentially longer.</li><li><strong>Scaling becomes a nightmare</strong> — Manually managing software updates for ten robots is hard. Managing 1,000? Impossible.</li></ul><p>The hard truth is: <strong>without CI/CD, every update is a gamble.</strong></p><h3>What Exactly is CI/CD for Robotics?</h3><p>CI/CD is the backbone of modern software development, and robotics teams can benefit just as much as any other industry. Here’s how it works:</p><ul><li><strong>Continuous Integration (CI)</strong> ensures that every code change is automatically built and tested, preventing bugs from sneaking in.</li><li><strong>Continuous Deployment (CD)</strong> automates the process of shipping updates to robots, eliminating manual interventions and reducing errors.</li><li><strong>Automated Testing</strong> validates new code against simulations and real-world scenarios before deploying to live robots.</li></ul><p>For robotics, CI/CD can be the difference between a seamless software update and a fleet-wide failure.</p><h3>How to Implement CI/CD in Your Robotics Startup</h3><p>Starting with CI/CD doesn’t have to be overwhelming. Here’s a simple roadmap:</p><ol><li><strong>Containerize Your ROS Applications: </strong>Use Docker or Podman to ensure consistency across development, staging, and production environments.</li><li><strong>Set Up Automated Testing Pipelines: </strong>Make use of the GitHub Actions, GitLab CI/CD, or Jenkins to run unit tests, integration tests, and simulation-based validations.</li><li><strong>Version Control all your configuration changes</strong>: Make use of git to version control all your configuration tweaks from day 1.</li><li><strong>Use Infrastructure as Code (IaC) to manage configurations and provisioning: </strong>Use tools like Ansible or Puppet to automate deployments and ensure environment consistency.</li><li><strong>Monitor Everything: </strong>Use Prometheus and Grafana for real-time monitoring, logging, and alerting.</li></ol><h3>Future-Proofing Your Robotics Startup</h3><p>A robotics startup’s success isn’t just about building great robots — it’s about making sure they work reliably <strong>at scale</strong>. CI/CD turns robotics software development from a frustrating, error-prone process into a smooth, automated workflow that just works.</p><p>Many robotics teams learn this lesson the hard way, but you don’t have to. Start small, integrate automation early, and set your company up for long-term success. <strong>Because in robotics, every moment spent fixing deployment issues is a moment taken away from true innovation.</strong></p><p>You’re not alone in this journey. We’ve been there, and we know the struggles. That’s why we built <a href="https://robotair.io/"><strong>Robotair</strong></a> — to help robotics teams deploy with confidence from day one. Let’s build the future, together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1db08d4ac689" width="1" height="1" alt=""><hr><p><a href="https://medium.com/robotair/why-your-robotics-startup-needs-ci-cd-from-day-one-1db08d4ac689">Why Your Robotics Startup Needs CI/CD From Day One</a> was originally published in <a href="https://medium.com/robotair">Robotair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Costs of Deploying Robotics Applications (And How to Avoid Them)]]></title>
            <link>https://medium.com/robotair/the-hidden-costs-of-deploying-robotics-applications-and-how-to-avoid-them-ea0ce5a92b0a?source=rss----d24b98a5fdea---4</link>
            <guid isPermaLink="false">https://medium.com/p/ea0ce5a92b0a</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[robot-operating-system]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Ragesh Ramachandran]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 10:00:31 GMT</pubDate>
            <atom:updated>2025-02-14T10:00:31.544Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fouqgk0eEkcLjKkqV3U0pw.png" /></figure><h3>An Expensive Lesson in Robotics Deployment</h3><p>Every robotics team faces this moment. After months of painstaking development, fine-tuning algorithms, and running endless lab tests, deployment day arrives. The robots are expected to seamlessly navigate the environment, showcasing their cutting-edge autonomy. The team is confident — everything worked perfectly in the lab.</p><p>Then, the inevitable happens.</p><p>Suddenly, robots that functioned flawlessly in controlled conditions refuse to respond in the real world. Logs are flooded with dependency errors, minor software updates unexpectedly break essential functionalities, and a rollback plan? Often nonexistent. The warehouse floor, once envisioned as a proof of concept, becomes a battlefield of unresponsive machines.</p><p>Panic sets in. Engineers scramble to debug, SSH into individual robots, manually deploy emergency patches, and try everything to salvage the situation. But the reality is undeniable — underestimating the complexity of deploying robotics software at scale leads to disaster.</p><figure><img alt="Robotics engineer panics and swets during the demo day" src="https://cdn-images-1.medium.com/max/515/1*h6BxCoH41ZpQP1mlQx-m3g.jpeg" /></figure><p>This is not an isolated incident. From ambitious startups to well-established industrial robotics teams, everyone encounters these deployment nightmares. Writing an algorithm is one thing — getting it to run reliably on fleets of robots, across different environments, without unexpected failures, is an entirely different challenge.</p><p>And the real cost? It’s not just in wasted engineering hours. These hidden deployment pitfalls drain budgets, derail timelines, and, in some cases, doom promising robotics projects before they even reach full-scale deployment.</p><h3>The Hidden Costs of Robotics Software Deployment</h3><h3>1. System Integration Nightmares</h3><p>Robotics systems are notoriously complex, often involving a mix of perception, control, and cloud components. Each update risks breaking a fragile integration between hardware and software.</p><p><strong>Common issues:</strong></p><ul><li>New software releases conflicting with existing dependencies</li><li>Firmware updates causing unexpected side effects</li><li>Cloud and edge components falling out of sync</li></ul><h4>How to Avoid It:</h4><ul><li><strong>Use containerization</strong>: Docker and Podman can help isolate dependencies.</li><li><strong>Standardize interfaces</strong>: Tools like ROS help modularize systems and use standardized interfaces to communicate with sensors and control.</li><li><strong>Automate integration testing</strong>: GitHub Actions or GitLab CI/CD can run simulations and edge-case tests before deployment.</li></ul><h3>2. Configuration Drift Across Robots</h3><p>What works on one robot may not work on another — even if they’re identical on paper. Over time, small variations in hardware, firmware, or local configurations lead to robots behaving unpredictably.</p><p><strong>Common issues:</strong></p><ul><li>Robots running different software versions due to manual updates</li><li>“Works on my machine” syndrome when debugging</li></ul><h4>How to Avoid It:</h4><ul><li><strong>Automate software provisioning</strong>: Use Ansible or NixOS to ensure robots run the same configuration.</li><li><strong>Version everything</strong>: Store software, configurations, and dependencies in Git.</li></ul><h3>3. Over-the-Air (OTA) Deployment Challenges</h3><p>Updating robots remotely sounds great — until it fails midway, leaving a fleet in limbo. Without a robust deployment strategy, OTA updates can turn into high-risk operations.</p><p><strong>Common issues:</strong></p><ul><li>Partial updates bricking robots</li><li>Network failures causing inconsistent deployments</li><li>Lack of rollback options leading to costly manual fixes</li></ul><h4>How to Avoid It:</h4><ul><li><strong>Use container images for updates</strong>: Using docker or podman to run robot applications can prevent bricking of robots to a great extend.</li><li><strong>Test updates in a staging environment</strong>: Deploy first to a test fleet before rolling out widely.</li><li><strong>Monitor deployment health</strong>: Set up Prometheus/Grafana dashboards to monitor the system after deployment and set up alerting systems to notify anomalies.</li></ul><h3>4. Debugging and Observability at Scale</h3><p>One robot failing in the lab is manageable. Ten failing in the field is a disaster. Without proper logging and monitoring, diagnosing failures becomes an expensive, time-consuming effort.</p><p><strong>Common issues:</strong></p><ul><li>Lack of real-time telemetry and logging</li><li>No centralized system for collecting robot health data</li><li>Engineers flying on-site just to debug</li></ul><h4>How to Avoid It:</h4><ul><li><strong>Implement remote logging</strong>: Use Loki or Fluentd to centralize logs.</li><li><strong>Deploy real-time monitoring</strong>: Prometheus + Grafana can track CPU, memory, and ROS node status.</li><li><strong>Use remote SSH/tunneling tools</strong>: Tailscale or OpenVPN can provide secure remote access.</li></ul><h3>5. Security and Compliance Costs</h3><p>Security in robotics is often an afterthought — until a breach happens. Whether it’s unauthorized access to robots or firmware tampering, the costs of a security failure can be catastrophic.</p><p><strong>Common issues:</strong></p><ul><li>Weak authentication mechanisms allowing unauthorized control</li><li>Unpatched vulnerabilities exposing attack vectors</li><li>Data leaks from insecure logging</li></ul><h4>How to Avoid It:</h4><ul><li><strong>Enforce access control</strong>: Use TLS certificates and OAuth for API authentication.</li><li><strong>Regularly update software</strong>: Always keep the host OS up-to date and use automated vulnerability scanning with tools like snyk or grype.</li><li><strong>Encrypt data in transit and at rest</strong>: Ensure MQTT/ROS messages use SSL/TLS.</li></ul><h3>Reducing the Cost of Deployment</h3><p>Many robotics teams start with an optimistic vision — build a robot, test it in the lab, and deploy it in the real world. But deployment is often where things break down. The hidden costs — whether it’s time wasted on debugging, manual updates gone wrong, or security vulnerabilities — can make or break a robotics company.</p><p>And yet, some teams seem to navigate these challenges more smoothly. They deploy confidently, update seamlessly, and scale efficiently. The question is: what do they know that others don’t?</p><p>Start small. Pick one area — whether it’s containerizing your ROS stack, automating deployments, or improving monitoring — and gradually integrate best practices. The more effort you invest upfront in DevOps and infrastructure, the less you’ll pay later in deployment disasters.</p><p>In the end, the most successful robotics companies aren’t just the ones with the best algorithms or hardware — they’re the ones that can deploy, update, and maintain their robots efficiently at scale.</p><blockquote>Deployment doesn’t have to be a constant struggle. Imagine a world where your robots update effortlessly, deploy reliably, and operate seamlessly at scale. The future of robotics deployment is here, and some teams are already ahead of the curve. <a href="https://robotair.io/"><strong>Discover how Robotair</strong></a> is making it happen.Deployment doesn’t have to be a constant struggle. What if your robots could update effortlessly, deploy reliably, and be monitored with ease? It’s not just possible — it’s already happening. See how <a href="https://robotair.io/"><strong>Robotair</strong></a> is helping robotics teams take the complexity out of deployment.</blockquote><p>So, what’s your biggest deployment challenge? Let’s discuss.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea0ce5a92b0a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/robotair/the-hidden-costs-of-deploying-robotics-applications-and-how-to-avoid-them-ea0ce5a92b0a">The Hidden Costs of Deploying Robotics Applications (And How to Avoid Them)</a> was originally published in <a href="https://medium.com/robotair">Robotair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Domain ID and Namespace in ROS 2 for Multi-Robot Systems]]></title>
            <link>https://medium.com/robotair/domain-id-and-namespace-in-ros-2-for-multi-robot-systems-9a939ae3fa40?source=rss----d24b98a5fdea---4</link>
            <guid isPermaLink="false">https://medium.com/p/9a939ae3fa40</guid>
            <category><![CDATA[robot-operating-system]]></category>
            <category><![CDATA[domain-ids]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[ros2]]></category>
            <category><![CDATA[namespaces]]></category>
            <dc:creator><![CDATA[Ragesh Ramachandran]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 09:49:12 GMT</pubDate>
            <atom:updated>2023-04-18T10:25:59.818Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bCAZBBqPPH6_JxeQgCiGag.png" /></figure><p>The Robot Operating System is a popular framework for developing multi-robot applications. With the release of ROS2, Domain ID, and Namespaces were introduced to better support multi-robot systems. In this article, we will discuss the importance of using namespaces and domain IDs in ROS2 for multi-robot systems.</p><h4><strong>What are Namespaces and Domain IDs in ROS2?</strong></h4><p>Namespaces and Domain IDs are two related concepts in ROS2 that provide a way to partition the ROS network into different isolated groups. A namespace is a way to create a unique context for ROS nodes, topics, and services. In other words, it allows ROS nodes to have the same name but operate in different contexts. For example, two <a href="https://www.neobotix-robots.com/">neobotix</a> robots in the same network may have nodes and topics with the same name, but the namespaces allow them to operate independently.</p><pre>neobotix_1/cmd_vel <br>neobotix_2/cmd_vel</pre><p>Here <strong><em>neobotix_1</em></strong> and <strong><em>neobotix_2</em></strong> are the namespace that provides separate contexts to the same <strong><em>cmd_vel</em></strong> topic of <strong>neobotix robots</strong>.</p><p>A Domain ID is a number assigned to a ROS2 network. Think of this like a VPN for a robot which is used to distinguish between different ROS2 networks running on the same physical network. Each network has a unique Domain ID, which ensures that the messages are exchanged only between the nodes within the same network. If we want multiple robots in a network to talk to each other then we can have a single Domain ID for all of them</p><p>Suppose we have a group with multiple turtlebot4 and multiple neobotix robots and we want to isolate the turtlebot3 and turtlebot4 which are connected to the same physical network we can assign different Domain IDs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bCAZBBqPPH6_JxeQgCiGag.png" /></figure><h4>Why are Namespaces and Domain IDs important in Multi-robot systems?</h4><p>In multi-robot systems, it is common to have several robots working together to accomplish a task. Without using namespaces and Domain IDs, it becomes difficult to manage these robots as they may have identical node names. This can lead to conflicts and errors in message exchange between robots.</p><p>For example, consider two robots in the same network, running a node called <strong><em>robot_state_publisher</em></strong>. If these nodes were not placed in separate namespaces, their messages would collide, leading to errors in the data processing. But by placing them in different namespaces, each robot’s <strong><em>robot_state_publisher</em></strong> node can operate independently without interfering with the other robot’s <strong><em>robot_state_publisher </em></strong>node.</p><p>Moreover, using Domain IDs ensures that messages are only exchanged within the intended group of robots. By assigning unique Domain IDs to each robot group, the ROS2 network can support multiple independent groups of robots without interfering with each other.</p><h4>How to use Namespaces and Domain IDs in ROS2?</h4><p>To use Namespaces and Domain IDs in ROS2, you can specify them when creating the nodes, topics, and services.</p><p>For example, to create a node with the name ‘node’ in the namespace <strong>neobotix_1</strong>, you can use the following command:</p><pre>ros2 run &lt;package&gt; &lt;node&gt; --ros-args --remap __ns:=/neobotix_1</pre><p>Similarly, to set a Domain ID for the network, you can use the following command:</p><pre>ROS_DOMAIN_ID=1 ros2 run package node1<br>ROS_DOMAIN_ID=2 ros2 run package node2</pre><p>In this example, the Domain ID is set to 1 and 2 for the 2 robot groups, and <strong><em>node1</em></strong> run with Domain ID:=1, and <strong><em>node2</em></strong> runs with Domain ID:=2. <em>node1</em> and <em>node2</em> are separated from each other and will not interfere with each other.</p><blockquote>In a nutshell, Namespaces and Domain IDs in ROS2 provide a way to partition the ROS network into different isolated groups, allowing multiple robots to operate independently without interfering with each other. By using Namespaces and Domain IDs, it becomes easier to manage and coordinate multi-robot systems. So, it’s essential to understand their importance and use them in your ROS2 projects.</blockquote><p>If you have any questions do let me know in the comments. 📝✍</p><p><strong>Make sure to follow me for more interesting content on Robotics and ROS.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a939ae3fa40" width="1" height="1" alt=""><hr><p><a href="https://medium.com/robotair/domain-id-and-namespace-in-ros-2-for-multi-robot-systems-9a939ae3fa40">Domain ID and Namespace in ROS 2 for Multi-Robot Systems</a> was originally published in <a href="https://medium.com/robotair">Robotair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open source tools in Robot DevOps pipeline]]></title>
            <link>https://medium.com/robotair/open-source-tools-in-robot-devops-pipeline-5c8b48deaf15?source=rss----d24b98a5fdea---4</link>
            <guid isPermaLink="false">https://medium.com/p/5c8b48deaf15</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[robot-operating-system]]></category>
            <dc:creator><![CDATA[Ragesh Ramachandran]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 09:48:48 GMT</pubDate>
            <atom:updated>2023-03-02T03:01:30.883Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UQjHqzGP4YSp88C5" /></figure><p>There are several tools that are commonly used for the DevOps of ROS (Robot Operating System) software packages, from development to operations. Following are a list of some open source tools that I have used myself or heard from my colleagues at Fraunhofer IPA 👨 💻:</p><p>⚡️ <strong>Source Version Control Management</strong> <strong>tools</strong>, such as <a href="http://www.github.com/">Github</a> and GitLab, for managing and versioning the code base.</p><p>⚡️ <strong>Continuous integration</strong> (CI) <strong>tools</strong>, such as <a href="https://www.jenkins.io/">Jenkins</a>, GitHub actions and GitLab CI, for automating the build, test and deployment process.</p><p>⚡️ <strong>Unit testing tools</strong>, such as unittest, pytest and gtest, for <a href="https://discourse.ros.org/t/test-framework-in-ros2/2667/2">testing</a> the individual units of the ROS packages.</p><p>⚡️ <strong>Integration testing tools</strong>, such as <a href="https://design.ros2.org/articles/roslaunch.html">roslaunch</a>, for testing the integration of multiple ROS packages.</p><p>⚡️ <strong>Code quality tools</strong>, such as <a href="https://ubuntu.com/blog/how-to-add-a-linter-to-ros-2">ament_lint</a>, for checking the code style and potential issues</p><p>⚡️ <strong>Code coverage tools</strong>, such as <a href="https://github.com/mikeferguson/code_coverage">code_coverage</a> and <a href="https://github.com/linux-test-project/lcov">Lcov</a>, for measuring the code coverage during the testing process</p><p>⚡️ <strong>ROS-specific deployment tools</strong>, such as <a href="http://wiki.ros.org/ROS/Tutorials/rosdep">rosdep</a>, for managing dependencies and installing the packages.</p><p>⚡️ <strong>Containerization tools</strong>, such as <a href="https://www.docker.com/">Docker</a>, for packaging and deploying the ROS applications in a consistent and portable way.</p><p>⚡️ <strong>Configuration management tools</strong>, such as <a href="https://www.ansible.com/">Ansible</a>, for managing and automating the deployment of the ROS packages to different production and testing environments</p><p>⚡️ <strong>Monitoring and logging tools</strong>, such as Grafana, ElasticSearch and InfluxDB, for logging and analyzing metrics about the performance and usage of the ROS packages.</p><p>If you have used tools other than those listed here then do let me know in the comments. 📝✍</p><p>👉🏼 <strong>Make sure to follow me for more interesting content on Robotics and ROS.</strong></p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/open-source-tools-robot-devops-pipeline-ragesh-ramachandran"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c8b48deaf15" width="1" height="1" alt=""><hr><p><a href="https://medium.com/robotair/open-source-tools-in-robot-devops-pipeline-5c8b48deaf15">Open source tools in Robot DevOps pipeline</a> was originally published in <a href="https://medium.com/robotair">Robotair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying ROS packages to Robots]]></title>
            <link>https://medium.com/robotair/deploying-ros-packages-to-robots-f2ccc7327e87?source=rss----d24b98a5fdea---4</link>
            <guid isPermaLink="false">https://medium.com/p/f2ccc7327e87</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[ansible]]></category>
            <dc:creator><![CDATA[Ragesh Ramachandran]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 09:48:04 GMT</pubDate>
            <atom:updated>2023-03-04T03:26:45.143Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wVM6uoVucjI2o8da" /></figure><p>As the field of robotics continues to evolve, the need for efficient methods to deploy and operate ROS (Robot Operating System) packages on robots becomes critical. There are several different ways to deploy and operate ROS packages on robots and in this post, I will list out the tools and techniques that I have tried and tested at Fraunhofer IPA.</p><p>✅ <a href="https://www.docker.com/"><strong>Docker</strong></a>: containerization tool such as Docker is a popular method to deploy ROS packages. This allows for easy packaging and deployment of the ROS packages, as well as the ability to easily roll back to a previous version.</p><p>✅ <a href="https://www.ansible.com/"><strong>Ansible</strong></a>: Using a configuration management tool such as Ansible to deploy and operate ROS packages. This allows for automation of the deployment and operation process, as well as the ability to easily track and manage changes to the system.</p><p>✅ <strong>Combination of Docker and Ansible</strong>: You can also use a combination of both methods for example using Ansible to provision the infrastructure and then using Docker to deploy and operate the ROS packages.</p><p>✅ <a href="https://www.terraform.io/"><strong>Terraform</strong></a>: Using Infrastructure as Code (IaC) tools such as Terraform to provision the infrastructure, and then use Ansible or Docker to deploy and operate the ROS packages. This allows for the management of the entire infrastructure as code, as well as the ability to easily scale and manage multiple robots.</p><p>✅ Finally, <a href="https://www.yoctoproject.org/"><strong>Yocto </strong></a>can be used to create custom Linux distributions for embedded systems, which can include ROS packages as part of the image.</p><p>If you have used tools other than those listed here then do let me know in the comments. 📝✍</p><p><strong>Make sure to follow me for more interesting content on Robotics and ROS.</strong></p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/deploying-ros-packages-robots-ragesh-ramachandran"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2ccc7327e87" width="1" height="1" alt=""><hr><p><a href="https://medium.com/robotair/deploying-ros-packages-to-robots-f2ccc7327e87">Deploying ROS packages to Robots</a> was originally published in <a href="https://medium.com/robotair">Robotair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying ROS Applications: Kubernetes(K8s) or Docker?]]></title>
            <link>https://medium.com/robotair/deploying-ros-applications-kubernetes-k8s-or-docker-53c66701a986?source=rss----d24b98a5fdea---4</link>
            <guid isPermaLink="false">https://medium.com/p/53c66701a986</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[robot-operating-system]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[k8s]]></category>
            <dc:creator><![CDATA[Ragesh Ramachandran]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 09:46:39 GMT</pubDate>
            <atom:updated>2025-02-17T10:22:18.905Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g_qnZsApCndcpIiVj807NQ.png" /></figure><p>When it comes to deploying <a href="https://www.ros.org/">ROS</a> (Robot Operating System) applications, choosing the right containerization and orchestration tool is crucial. <a href="https://kubernetes.io/">Kubernetes</a> (K8s) and <a href="https://www.docker.com/">Docker</a> are two popular options, but each serves different needs and use cases.</p><p>After I started working for <a href="https://node-robotics.com/">Node Robotics GmbH</a> as a Robotics DevOps Engineer, I have exploring different solutions to deploy Node.OS to our customers. <a href="https://node-robotics.com/solutions">Node.OS</a> is a system based on ROS designed to provide navigation autonomy and a suite of services for managing and coordinating robot fleets. It helps Autonomous Mobile Robots (AMRs) localize, map, and navigate within logistic warehouses while offering tools for fleet management and coordination. Hence deployment of Node.OS share similar nature as that of ROS application deployment. We already use docker to deploy Node.OS to over a 1000 Robots in production, but we always look for ways to refine our software deployment.</p><p>In this article, I will share my understanding of K8s and Docker in the context of ROS and, and tell you why I think Docker might be the more practical choice for deploying ROS applications.</p><h4>Understanding ROS Deployment Needs</h4><p>Before diving into the comparison, let’s understand the specific requirements of deploying ROS applications:</p><ol><li><strong>Simplicity</strong>: ROS nodes typically require straightforward deployment mechanisms.</li><li><strong>Resource Management</strong>: Advanced resource management is generally not necessary.</li><li><strong>Networking</strong>: Basic networking capabilities suffice.</li><li><strong>Scalability</strong>: ROS nodes do not need dynamic, real-time scaling.</li><li><strong>Fault Tolerance</strong>: Basic fault tolerance is manageable within the ROS framework.</li></ol><p>Based of these requirements for ROS applications let’s compare Kubernetes and Docker.</p><h4>Kubernetes vs. Docker: A ROS Perspective</h4><h4>Deployment Complexity</h4><ul><li><strong>Kubernetes (K8s)</strong>: High complexity, suitable for large-scale and complex setups.</li><li><strong>Docker</strong>: Low complexity, straightforward for simple deployments.</li></ul><h4>Scalability</h4><ul><li><strong>Kubernetes (K8s)</strong>: Designed for high scalability but may be overkill for typical ROS applications.</li><li><strong>Docker</strong>: Adequate for fixed or large scale ROS deployments.</li></ul><h4>Orchestration</h4><ul><li><strong>Kubernetes (K8s)</strong>: Provides advanced orchestration, which is not typically needed for ROS applications.</li><li><strong>Docker</strong>: Offers basic orchestration, which is sufficient for most ROS use cases.</li></ul><h4>Resource Management</h4><ul><li><strong>Kubernetes (K8s)</strong>: Efficient at scale but complex to configure.</li><li><strong>Docker</strong>: Simpler and offers direct resource allocation.</li></ul><h4>Networking</h4><ul><li><strong>Kubernetes (K8s)</strong>: Offers advanced networking capabilities, often unnecessary for ROS applications.</li><li><strong>Docker</strong>: Provides basic networking, generally sufficient for ROS needs.</li></ul><h4>Learning Curve</h4><ul><li><strong>Kubernetes (K8s)</strong>: Steep learning curve, requiring significant time investment.</li><li><strong>Docker</strong>: Low learning curve, quick to learn and implement.</li></ul><h4>Fault Tolerance</h4><ul><li><strong>Kubernetes (K8s)</strong>: High fault tolerance, but ROS nodes often handle their own fault tolerance.</li><li><strong>Docker</strong>: Basic fault tolerance, manageable within the ROS framework.</li></ul><h4>Community Support</h4><ul><li><strong>Kubernetes (K8s)</strong>: Large and extensive community support, particularly for complex deployments.</li><li><strong>Docker</strong>: Strong community support, adequate for ROS deployment needs.</li></ul><h4>When and Where to Use Kubernetes</h4><p>Kubernetes were mainly build for applications that require elasticity, that is scaling application is required. It excels in scenarios where you need:</p><ul><li><strong>High Scalability</strong>: If your ROS applications are part of a larger, dynamically scaling ecosystem, Kubernetes offers the scalability you need.</li><li><strong>Advanced Orchestration</strong>: For environments requiring sophisticated orchestration, such as deploying ROS alongside a larger full stack applications, Kubernetes is ideal.</li><li><strong>Robust Management</strong>: Kubernetes provides extensive management capabilities, including self-healing and load balancing, which can be beneficial in highly complex deployments.</li></ul><h3>When to Use Docker</h3><p>Docker, is made to simply containerize the development in which you made your ROS application. It basically solved “It works on my machine” problem among developers. You can use docker for ROS deployment because</p><ul><li><strong>Simplicity</strong>: Docker’s straightforward deployment process aligns well with the needs of most ROS applications. It allows for quick setup and easy management.</li><li><strong>Resource Efficiency</strong>: Docker provides sufficient resource management capabilities without the overhead associated with Kubernetes.</li><li><strong>Ease of Use</strong>: Docker’s lower learning curve and user-friendly interface mean you can spend more time focusing on robotics rather than container orchestration.</li></ul><p>For most ROS applications, Docker emerges as the more practical choice due to its simplicity, ease of use, and cost-effectiveness. While Kubernetes offers powerful features, the specific needs of deploying ROS nodes are often well-met by Docker without the additional complexity.</p><blockquote>K8s could still be used for ROS deployment but its not necessary to because its an overkill!</blockquote><p>By understanding the unique needs of ROS deployments and the strengths of each tool, you can make an informed decision that best supports your robotic applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53c66701a986" width="1" height="1" alt=""><hr><p><a href="https://medium.com/robotair/deploying-ros-applications-kubernetes-k8s-or-docker-53c66701a986">Deploying ROS Applications: Kubernetes(K8s) or Docker?</a> was originally published in <a href="https://medium.com/robotair">Robotair</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>