ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Which OS should be put on Raspi 4 with 2 GB RAM to use ROS ?

asked 2020-12-05 04:40:45 -0600

electrophod gravatar image

updated 2020-12-05 04:49:30 -0600

I have a RasPi 4 with 2 GB RAM. I want to run ROS on it (preferably melodic) and run some SLAM packages on it. Which OS should I put on it ? Ubuntu 18.04 Desktop or Ubuntu 18.04 Server or Ubuntu MATE 18.04 ?

Also any advices on the swap space as RAM (2GB) is less and the packages I'll be using would be heavy ?


edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2020-12-06 09:04:27 -0600

miura gravatar image

I have run the melodic navigation stack on an Ubuntu Mate 18.04-based image published by Ubiquity Robotics.

I felt a lack of CPU power, not memory. In some cases, I had to reduce the frequency in the configuration, etc. to make it work.

Be careful when building something from the source, not the package, as it failed if you don't create a swap area.

edit flag offensive delete link more

answered 2020-12-05 07:44:12 -0600

puru gravatar image

updated 2020-12-05 07:45:41 -0600

I can tell what I have tried and worked. I installed ubuntu mate 20.04 and ROS noetic.

you can try ubuntu 20.04, but I am not sure if it will give the best performance. I don't remember the reason for not trying 18.04, most probably because I read somewhere that its not recommended. Apologies, for not giving enough details.

Hope this helps

edit flag offensive delete link more


I agree. Ubuntu MATE would be lighter than the full fledged ubuntu desktop. That being said, I dont think 18 would give you any issues and you should be able to run melodic

Akhil Kurup gravatar image Akhil Kurup  ( 2020-12-05 10:19:47 -0600 )edit

Question Tools

1 follower


Asked: 2020-12-05 04:40:45 -0600

Seen: 414 times

Last updated: Dec 06 '20