Skip to content
BENIBIX Learn

Robot Operating System (ROS)

AI🦾 Robotics & VisionRobotics Software

Also known as ROS, ROS 2

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

Think of it like

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

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.

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.

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 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.
Nodes never call each other. They post to topics and read from them.

Common mistake

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

Key takeaways

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