Giter Club home page Giter Club logo

robotique-mobile's Introduction

Installation et première execution

Une fois pour toutes:

git clone https://github.com/m0rph03nix/RobMob_VehicleSimulator_student
cd RobMob_VehicleSimulator_student
virtualenv venv --python=/usr/bin/python3
source venv/bin/activate
pip install -r requirements.txt
# si virtualenv pas installé sur votre machine, faire : sudo apt-get install virtualenv

A chaque chargement du projet dans un nouveau terminal (dans RobMob_VehicleSimulator_student), n'oubliez pas de refaire:

# dans le répertoire du projet faites :
source venv/bin/activate

Vous pouvez executer le code d'exemple scenario.py

# dans le répertoire du projet faites :
python scenario.py

qui lance l'interface suivante:

Description

VehicleSimulator.py permet de charger des modèles de véhicule et leur modes de déplacement, et de les afficher au travers du simulateur Turtle

Dans le dossier vehicles, Vehicle.py décrit la classe abstraite d'un véhicule avec ses fonctions imposées:

  • model : modèle du véhicule
  • toPoint : pilotage du véhicule vers un point (x,y)
  • turn : tourner d'un certain angle

L'exemple du vélo (voiture simplifiée) est fournie dans Bicycle.py

Travail à réaliser

Sur la base de l'exemple Bicycle.py, créez TurtleBot.py contenant le model d'un robot à roues différentiels tel que le Turtlebot

Renseignez l'ensemble des fonctions de la classe abstraite jusqu'à obtenir un fonctionnement optimal.

Faites valider par le prof

robotique-mobile's People

Contributors

b4tiste 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.