Giter Site home page Giter Site logo

topherbuckley / beach-cleaning-navigation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okinawa-ai-beach-robot/beach-cleaning-navigation

0.0 0.0 0.0 29 KB

AI navigation for beach cleaning robot based in Okinawa, Japan

License: GNU General Public License v3.0

Python 52.53% Dockerfile 28.11% Shell 19.36%

beach-cleaning-navigation's Introduction

beach-cleaning-navigation

AI navigation for beach cleaning robot based in Okinawa, Japan

Docker

Installing docker

Taken from here:

# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo docker run hello-world

Installing the Nvidia Container Toolkit

Taken from here:

curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
  && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
    sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
    sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker \
sudo systemctl restart docker \
nvidia-ctk runtime configure --runtime=docker --config=$HOME/.config/docker/daemon.json \
systemctl --user restart docker \
sudo nvidia-ctk config --set nvidia-container-cli.no-cgroups --in-place

Building the container

sudo docker image build -f Dockerfile -t beach-cleaning-navigation .

Running the container

sudo docker container run -it --runtime=nvidia --gpus all \
-v /sys:/sys --device /dev/gpiochip0 \
-e JETSON_MODEL_NAME=JETSON_ORIN_NANO \
beach-cleaning-navigation /bin/bash

beach-cleaning-navigation's People

Contributors

topherbuckley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.