# Robot Operating System (ROS)

> Free tools for building robot software. Small parts send each other messages.

**Field:** Artificial Intelligence  
**Category:** Robotics & Vision  
**Also known as:** ROS, ROS 2

## Think of it like

It is like a set of radios for a robot's parts. Each part talks on its own channel.

## Definition

ROS is a free, open source set of tools for writing robot software. Despite the name, it is not an operating system. It runs on top of one, most often Linux. A robot program is split into small parts called nodes, such as one for the camera and one for the wheels. Nodes send each other messages on named channels called topics. ROS 2 is the version in use today, and a new release comes out each May.

## Example

Emma's robot uses ROS 2 Jazzy Jalisco. Her camera node posts images to a topic, and her detector node reads them from it.

## Example code

```console
$ ros2 topic list
/parameter_events
/rosout
/turtle1/cmd_vel
/turtle1/color_sensor
/turtle1/pose
```

With the turtle demo running, ROS lists the topics its nodes talk on.

## Why it matters

Most robot teams use ROS rather than start from zero. Drivers, maps and planners already exist, so a new robot moves sooner.

## Common mistake

Treating it like Windows. It is not a full system and sits on top of one, most often Linux.

## Three principles

- **Nodes.** Small programs, one job each.
- **Topics.** Named channels nodes send messages on.
- **Not an OS.** It runs on top of Linux.

## Related terms

- [Robot](https://learn.benibix.com/term/ai/robot)
- [Robot Simulator](https://learn.benibix.com/term/ai/robot-simulator)
- [Linux](https://learn.benibix.com/term/development/linux)
- [Open Source Software](https://learn.benibix.com/term/development/open-source)
- [OpenCV](https://learn.benibix.com/term/ai/opencv)

![Three boxes called nodes: camera, detector and wheels. Arrows run from camera to a pill labelled /image, from there to detector, then to a pill labelled /cmd_vel, then to wheels.](https://learn.benibix.com/diagrams/ai6-ros-graph.svg)

---

Source: https://learn.benibix.com/term/ai/robot-operating-system
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
