diff --git a/README.md b/README.md index d5282a1f07f49888567fede032f68793c4e6c438..1817c09eb8a171a4b7d7454cbd3c010ea1b7badf 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ This project contains the docker file and other associated files required to collect RGB and Depth images from Spots 5 cameras as well as obtaining the initial pose estimation from Spots body frame. The image that this docker file builds is meant to be turned into a container directly on the COREI/O. ## How to run the docker file -1. On a local machine run ``docker build ./`` to create an Ubuntu image with VI, Python and BD pre-requisites. -2. Update the name of the image as desired ``docker tag <image-id> <desired-image-name>`` -3. Save the image into a .tar file ``docker save <image-name>:<version> -o <filename-of-tar>`` -4. Copy across this image to the CORI/O ``scp -P 20022 <tar-file> spot@<robots-ip>`` -5. On the COREI/O load in the image ``sudo docker load -i <tar-file>`` +1. On a local machine run `docker build ./` to create an Ubuntu image with VI, Python and BD pre-requisites. +2. Update the name of the image as desired `docker tag <image-id> <desired-image-name>` +3. Save the image into a .tar file `docker save <image-name>:<version> -o <filename-of-tar>` +4. Copy across this image to the CORI/O `scp -P 20022 <tar-file> spot@<robots-ip>` +5. On the COREI/O load in the image `sudo docker load -i <tar-file>` 6. Run container `sudo docker run --name dev_env -it --network=host -v /data:/data -v /home/spot/data-collection:/data-collection <image-name>:<version>` ## How to run the data collection