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");
|
:printf("Connection avec le moniteur perdue");
|
||||||
:stopCamera!;
|
:stopCamera!;
|
||||||
:stopRobot!;
|
:stopRobot!;
|
||||||
:stopComRobot!;
|
|
||||||
:stopServer!;
|
:stopServer!;
|
||||||
endif
|
endif
|
||||||
if (msgRcv.CompareID(MESSAGE_ROBOT_COM_OPEN)) then (true)
|
if (msgRcv.CompareID(MESSAGE_ROBOT_COM_OPEN)) then (true)
|
||||||
|
@ -22,6 +21,9 @@ while ()
|
||||||
:watchdogMode = WITH_WATCHDOG;
|
:watchdogMode = WITH_WATCHDOG;
|
||||||
:startRobot!;
|
:startRobot!;
|
||||||
endif
|
endif
|
||||||
|
if (msgRcv.CompareID(MESSAGE_ROBOT_RESET)) then (true)
|
||||||
|
:stopRobot!;
|
||||||
|
endif
|
||||||
if (msgRcv.CompareID(MESSAGE_ROBOT_GO_FORWARD
|
if (msgRcv.CompareID(MESSAGE_ROBOT_GO_FORWARD
|
||||||
|| msgRcv.CompareID(MESSAGE_ROBOT_GO_BACKWARD
|
|| msgRcv.CompareID(MESSAGE_ROBOT_GO_BACKWARD
|
||||||
|| msgRcv.CompareID(MESSAGE_ROBOT_GO_LEFT
|
|| msgRcv.CompareID(MESSAGE_ROBOT_GO_LEFT
|
||||||
|
|
Loading…
Reference in a new issue