Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Robocode by
Diff: source/Main.cpp
- Revision:
- 58:1a395b6928ee
- Parent:
- 54:453f24775644
- Child:
- 61:b57577b0072f
diff -r 36c290715769 -r 1a395b6928ee source/Main.cpp
--- a/source/Main.cpp Tue Apr 18 13:43:44 2017 +0000
+++ b/source/Main.cpp Tue Apr 18 15:38:15 2017 +0000
@@ -68,22 +68,16 @@
state = initialisation();
break;
case 16:
- state = engage_motors();
- break;
- case 17:
- state = test_servos();
- break;
- case 18:
state = inital_positioning();
break;
case 25:
- state = start_positioning();
+ state = 26;
positioning_state = 1;
break;
case 26:
- state = start_mapping();
+ state = 27;
mapping_state = 1;
break;
case 27:
