Skip to content

Exchange virtual balloon between GrovePi robot and Servers

Notifications You must be signed in to change notification settings

kevinhassan/FAR_Project

Repository files navigation

ProjetFAR

Role:

Distributeur de ballon

Contributeurs:

  • Kévin Hassan
  • Yves-Alain Agbodjogbe

Fonctions RPC pour demander un ballon :

cd ./RPC
make -f Makefile.calcul

LANCER DANS 2 TERMINAUX DIFFERENTS :

./calcul_client [HOST][NUMERO FONCTION]
./calcul_server

NB : NUMERO FONCTION = {1,2}

  • 1 --> Demander un ballon
  • 2 --> Vérifier authenticité du ballon

Client - Server : robot et server intermédiaire:

Lancer le server RPC :

./RPC/calcul_server

Lancer le server intermédiaire :

./clients/ClientServeurIntermediaire

Entrer son port d'écoute (ex: 10000)

Lancer le clientRobot :

./clients/clientRobot 

Entrer le port sur lequel communiquer (ex: 10000)

N.B :

  • Le numéro RFID du robot sera attendu au niveau du server intermédiaire

Bilan

Ce qui marche:

  • Server intermédiaire
  • Server central
  • Authentification ballon
  • Distribution ballon

Ce qui marche pas :

  • Communication avec Beebot
  • Durée de validité d'un ballon