Commit 36b5f53e238ee18fd5f0adeeac1bf902dce74ec0

Authored by Etienne Pallier
1 parent 3a46366b
Exists in dev

bugfix agent simulator

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
README.md
... ... @@ -71,9 +71,9 @@ Date: 01/04/2019
71 71  
72 72 Author: E. Pallier
73 73  
74   -VERSION: 0.20.34
  74 +VERSION: 0.20.35
75 75  
76   -Comment: Ajout informations plus précises sur statut commande + Bugfix simulateur sur "abort"
  76 +Comment: TODO ??? Agent sender peut marquer "expired" une commande qu'il a envoyée
77 77  
78 78 - Scenario de test :
79 79 - lancer agents A et B en mode simu (option -t): ./pyros.py -t start agentA,agentB
... ...
src/agent/Agent.py
... ... @@ -1215,7 +1215,7 @@ class Agent:
1215 1215 if self.next_cmdts and self.next_cmdts.name == "abort":
1216 1216 # Wait a little to give a chance to agentB to start execution of current command,
1217 1217 # so that we can abort it then (otherwise it won't be aborted!!)
1218   - time.sleep(2)
  1218 + time.sleep(4)
1219 1219 self.cmdts = self.next_cmdts
1220 1220 self.next_cmdts = None
1221 1221 self.print("***")
... ...