from socket import * from vision.LocalisationTresor import LocalisationTresor from ControleurPololu import ControleurPololu from Cameras.CameraRobot import CameraRobot from source.Decodeur import Decodeur from vision.Ajustement import Ajustement from ControlleurDeplacement import ControlleurDeplacement IpServeur = '0.0.0.0' port = 50007 buf = 1024 if __name__ == '__main__': ajustement = Ajustement() cameraRobot = CameraRobot() controleurCamera = ControleurPololu() localisationTresor = LocalisationTresor() decodeur = Decodeur() controleurDeplacement = ControlleurDeplacement() positionTresor = [0,0] coteDeTableAvecTresor = 0 distanceAAvance = 0 distanceTresor = 5000 orientationRobot = 0 orientationCamera = 0 positionXRobot = 0 positionYRobot = 0 tempsAttente = 1
from vision.LocalisationTresor import LocalisationTresor from ControleurPololu import ControleurPololu from Cameras.CameraRobot import CameraRobot from Code.Projet.source.Decodeur import Decodeur from vision.Ajustement import Ajustement from ControleurDeplacement import ControlleurDeplacement from ControleurCharge import ControleurCharge IpServeur = '0.0.0.0' port = 50007 buf = 1024 if __name__ == '__main__': ajustement = Ajustement() cameraRobot = CameraRobot() controleurCamera = ControleurPololu() localisationTresor = LocalisationTresor() decodeur = Decodeur() controleurDeplacement = ControlleurDeplacement() controleurCharge = ControleurCharge() positionTresor = [0,0] coteDeTableAvecTresor = 0 distanceAAvance = 0 distanceTresor = 5000 orientationRobot = 0 orientationCamera = 0 positionXRobot = 0 positionYRobot = 0