Leopold Clement
/
PSL-VicTeam
faut que Val répare le truc
Revision 19:6338e004c566, committed 2020-06-10
- Comitter:
- leocle
- Date:
- Wed Jun 10 14:00:41 2020 +0000
- Parent:
- 18:68a8f70707e6
- Commit message:
- Rajout de la commande Z
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 68a8f70707e6 -r 6338e004c566 main.cpp --- a/main.cpp Wed Jun 10 13:59:03 2020 +0000 +++ b/main.cpp Wed Jun 10 14:00:41 2020 +0000 @@ -203,6 +203,10 @@ send_stat(); } else if (last_read == 'R') { send_roues(); + } else if (last_read == 'Z'){ + front = 0; + lat = 0; + rot = 0; } else if (last_read == ';') { coach.puts("EOL\n"); /*coach.puts(message_0);