Coder Social home page Coder Social logo

pfe-spot-detection's Introduction

PFE SPOT DETECTION

Requierements:

  • Ubuntu 18.04 LTS
  • Python 3.6.9
  • SDK Spot by Boston Dynamics : Installation
  • YoloV5 repository : GitHub

Installation

Clonage des répo

Cloner le repo actuel et le repo de yoloV5 dans un même dossier selon l'architecture suivante :

Current folder
├── PFE-Spot-detection
│   ├── ...
│   ├── ...
├── yolov5
│   ├── ...
│   ├── ...
├── spot-sdk-master
│   ├── ...
│   ├── ...

Installation des dépendances

Depuis le dossier racine, naviguer vers le dossier PFE-Spot detection et installer les dépendances :

cd PFE-Spot-detecion
python3 -m pip install -r requierements.txt

Configuration de l'environnement

Afin de pouvoir se connecter au robot spot, il est nécessaire créer un fichier nommé .env à la racine de ce répo et de compléter les informations de connextion selon le format suivant :

ROBOT_USERNAME=user
ROBOT_PASSWORD=password
ROBOT_IP=XXX.XXX.XXX.XXX

Utilisation

Afin de pouvoir utilisé le programme, il faut d'abord être connecté au point d'accès wifi du robot spot (si utilisation sur pc distant)

Lancement du progamme

Ouvrir 2 terminaux differents :

Premier terminal :

Le premier terminal va servir à prendre le controle de l'estop:

  • Naviguer vers le dossier spot-sdk-master/python/examples/estop
cd spot-sdk-master/python/examples/estop
  • [OPTIONNEL] Si ce n'est pas déjà fait, installer les requierements :
python3 -m pip install -r requierements.txt
  • Lancer le programme esttop-nogui en remplacement les valeurs de user, password et IP
python3 estop-nogui.py --username <user> --password <password> <IP> 

Second terminal

Ce terminal va permettre de lancer le programme principale :

  • Naviguer vers la racine du dossier PFE-Spot-infive
cd PFE-Spot-infive
  • Executer le programme avec la commande suivante :
python3 command-line.py
  • Pour quitter le programme, appuyer sur CTRL-C

pfe-spot-detection's People

Contributors

nactik avatar matthiasduriez avatar

Stargazers

 avatar

Watchers

 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.