How to install ROS

I am just wondering how to get ROS installed. I followed the steps on the GitHub repo here

and i get this error

pi@pi-top:~ $ sudo docker run -it \
>       -v /dev:/dev \
>       --device-cgroup-rule='c 89:* rmw' \
>       --device-cgroup-rule='c 81:* rmw' \
>       -p 8022:22 -p 80:80 -p 8080:8080 -p 9090:9090 \
>       --name pt-ros-dev \
>       pitop/robotics-engine-ros:latest
Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted

Current thread 0xb6fcf460 (most recent call first):
<no Python frame>

That is a very strange issue, never seen that before. I found this thread on stack overflow which might be useful. I’m guessing your using pi-topOS? I don’t think it’s related to Docker or the docker image, just need to try a few of the solutions online and see what works.

this was on pitopOS yes, fresh install and on a brand new SD Card

Try this instead:

sudo docker run -it \
      --privileged \
      -p 8022:22 -p 80:80 -p 8080:8080 -p 9090:9090 \
      --name pt-ros-dev \
      pitop/robotics-engine-ros:latest

Also this:

wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb
sudo dpkg -i libseccomp2_2.5.1-1_armhf.deb