Mettre à jour 'conception/th_receiveFromMon.txt'

This commit is contained in:
Jean-Remy Hok 2021-03-15 11:41:45 +01:00
parent cb2975cef5
commit e5053429c3

View file

@ -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