ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I highly recommend sticking with a platform / distribution that has binaries available for the sake of maintainability.
I would go with Ubuntu Mate and removing everything you don't need. It's what I'm running on 2 RPis and it is both stable and easy to maintain.
One big drawback of Ubuntu Mate is that you need to connect the RPi to a screen / keyboard / mouse once to do some configuration (setting your user name etc., enabling SSH)
Things to do after installing Ubuntu Mate:
raspi-config
is the easiest way to do this)raspi-config
again)systemd-analyze blame
is probably the best tool for this).htop
(or top
) to debug what is taking RAM / CPU, there shouldn't be much to do after the install.Create a 500 Mb swap file, set appropriate rights on this file, configure it as swap, enable swap, show swap info
sudo fallocate -l 500M /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
Create an entry in /etc/fstab
so that the swap partition is automatically mounted at boot:
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
That way you have a clean, pretty minimal install and you will receive ROS updates whenever they are available. I think this solution is the best compromise if you are looking for:
2 | No.2 Revision |
I highly recommend sticking with a platform / distribution that has ROS binaries available for the sake of maintainability.
I would go with Ubuntu Mate and removing everything you don't need. It's what I'm running on 2 RPis and it is both stable and easy to maintain.
One big drawback of Ubuntu Mate is that you need to connect the RPi to a screen / keyboard / mouse once to do some configuration (setting your user name etc., enabling SSH)
Things to do after installing Ubuntu Mate:
raspi-config
is the easiest way to do this)raspi-config
again)systemd-analyze blame
is probably the best tool for this).htop
(or top
) to debug what is taking RAM / CPU, there shouldn't be much to do after the install.Create a 500 Mb swap file, set appropriate rights on this file, configure it as swap, enable swap, show swap info
sudo fallocate -l 500M /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
Create an entry in /etc/fstab
so that the swap partition is automatically mounted at boot:
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
That way you have a clean, pretty minimal install and you will receive ROS updates whenever they are available. I think this solution is the best compromise if you are looking for: