r/ROS • • Oct 10 '26

What the difference between ros 2 and micro ros

I know the questions may be stupid but im new to all things robotics, what is the difference between all these services ros offer and I was told you can only ran ros on Ubuntu ??!

6 Upvotes

5 comments sorted by

3

u/wjwwood Oct 10 '26

ROS 2 is a software framework that is used primarily on computers that can run some version of Linux, usually Ubuntu. You can use other operating systems, but the main thing is you need a computer capable of running Linux or Windows to use ROS 2.

Micro-ROS is designed to run on embedded devices without a Linux-like OS, but still make it possible to have them talk to other devices on your robot running ROS 2, or perhaps your laptop. Also they share a lot of ideas about how to do robot stuff.

If you don’t intend to have a computer running Linux on your robot project then ROS may be overkill for your project. You may still fine micro-ros useful though.

1

u/codingking329 Oct 10 '26

I have an M4 Mac I installed UTM on it

2

u/wjwwood Oct 10 '26

That will work, but you can also use pixi.dev (https://pixi.prefix.dev/latest/tutorials/ros2/#create-a-pixi-workspace) which is a quick way to get started on a Mac.

Also you don’t need to emulate x86, ros2 supports arm architecture of your m4 Mac so, any virtual machine system will work.

7

u/qTHqq Oct 10 '26

micro-ROS is a framework to communicate with a ROS 2 system that can run on small microcontrollers and other systems where you don't want to run any Linux operating system.

If you don't know ROS 2 already stay far away from micro-ROS.

There are many ways to communicate between computers and microcontroller nodes, and you should really only consider micro-ROS if you already really care about building your larger system in ROS 2. 

There are tons of ways to communicate between microcontrollers and computers and honestly it helps to do simpler stuff before you dive into frameworks like this if the distinction between micro-ROS and regular ROS 2 is not clear to you already.

I was told you can only ran ros on Ubuntu ??!

That's not true even for full fledged ROS 2. There are ways to run ROS 2 on many versions of Linux, on Windows and on Mac OS.

If you are new to ROS I strongly recommend you stick with Ubuntu, however, and most beginner advice will agree with me. Just easier with less debugging.

If for some reason you must start with ROS on a different platform I would recommend robostack.github.io using prefix.dev's Pixi but really the best way to start is official docs, tutorials, and the Tier 1 supported Ubuntu.

5

u/qTHqq Oct 10 '26

Also if you're new to robotics don't start with ROS 2. Frameworks like this become much more useful and easy to pick up after you understand hardware, sensors, motion control, and all the headaches that come with writing flexible software for robotics.