Commit 38186bfe48f9628e009326a44831d3e0d71849fd

Authored by Etienne Pallier
1 parent d1d6f84c
Exists in dev

update agentSST for test mode

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/core/pyros_django/agent/Agent.py
@@ -3100,10 +3100,10 @@ class Agent: @@ -3100,10 +3100,10 @@ class Agent:
3100 log.info("(TEST mode) Trying to send a new command if possible...") 3100 log.info("(TEST mode) Trying to send a new command if possible...")
3101 3101
3102 cmdts = self.__TEST_get_next_command_to_send() 3102 cmdts = self.__TEST_get_next_command_to_send()
  3103 +
3103 # No more command to send (from simulator) => return and EXIT 3104 # No more command to send (from simulator) => return and EXIT
3104 if cmdts is None : 3105 if cmdts is None :
3105 - if not self.get_received_pending_commands().exists():  
3106 - self.DO_MAIN_LOOP = False 3106 + ###if not self.get_received_pending_commands().exists(): self.DO_MAIN_LOOP = False
3107 return 3107 return
3108 3108
3109 log.info("TTT") 3109 log.info("TTT")