Mettre à jour 'conception/th_receiveFromMon.txt'
This commit is contained in:
parent
cb2975cef5
commit
e5053429c3
1 changed files with 48 additions and 46 deletions
|
@ -8,7 +8,6 @@ while ()
|
|||
:printf("Connection avec le moniteur perdue");
|
||||
:stopCamera!;
|
||||
:stopRobot!;
|
||||
:stopComRobot!;
|
||||
:stopServer!;
|
||||
endif
|
||||
if (msgRcv.CompareID(MESSAGE_ROBOT_COM_OPEN)) then (true)
|
||||
|
@ -22,6 +21,9 @@ while ()
|
|||
:watchdogMode = WITH_WATCHDOG;
|
||||
:startRobot!;
|
||||
endif
|
||||
if (msgRcv.CompareID(MESSAGE_ROBOT_RESET)) then (true)
|
||||
:stopRobot!;
|
||||
endif
|
||||
if (msgRcv.CompareID(MESSAGE_ROBOT_GO_FORWARD
|
||||
|| msgRcv.CompareID(MESSAGE_ROBOT_GO_BACKWARD
|
||||
|| msgRcv.CompareID(MESSAGE_ROBOT_GO_LEFT
|
||||
|
|
Loading…
Reference in a new issue