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:
- 90:7f9d6e641a01
- Parent:
- 87:df8c869a5a52
- Child:
- 92:b2f4ed4cb1e5
--- a/source/Main.cpp Mon May 01 13:38:00 2017 +0000
+++ b/source/Main.cpp Mon May 01 15:26:30 2017 +0000
@@ -68,10 +68,11 @@
case 15:
state = initialisation(); //init servo is included
+ state = 103;
break;
case 16:
state = inital_arm_positioning();
- state = 11;
+
break;
case 17:
state = initial_positioning();
@@ -186,7 +187,7 @@
break;
case 103:
- move_for_distance(1.00f);
+ move_for_distance(-1.00f);
state = 104;
break;
case 104:
