Commit eee6bd8ecf89e08bd1b6f59e30a51393342bc0d6
Exists in
dev
Merge branch 'dev' of https://gitlab.irap.omp.eu/epallier/pyros into dev
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/core/pyros_django/agent/Agent.py
... | ... | @@ -2032,7 +2032,7 @@ class Agent: |
2032 | 2032 | self._DO_EXIT=True |
2033 | 2033 | cmd.set_result('SHOULD BE DONE NOW') |
2034 | 2034 | ''' |
2035 | - result = "RESTARTING" if cmd_name == "do_restart_loop" else "STOPPING" | |
2035 | + #result = "RESTARTING" if cmd_name == "do_restart_loop" else "STOPPING" | |
2036 | 2036 | |
2037 | 2037 | elif cmd_name == "get_state": |
2038 | 2038 | result = "I am now " + self.get_state() | ... | ... |
src/core/pyros_django/agent/AgentBasic.py
... | ... | @@ -68,7 +68,7 @@ class AgentBasic(Agent): |
68 | 68 | ("self get_mode", 200, "MODE is ATTENTIVE", Agent.CMD_STATUS.CMD_EXECUTED), |
69 | 69 | |
70 | 70 | # End test |
71 | - ("self do_stop asap", 200, "STOPPING", Agent.CMD_STATUS.CMD_EXECUTED), | |
71 | + ("self do_stop asap", 200, None, Agent.CMD_STATUS.CMD_EXECUTED), | |
72 | 72 | ] |
73 | 73 | |
74 | 74 | ... | ... |