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:
- 92:b2f4ed4cb1e5
- Parent:
- 90:7f9d6e641a01
- Child:
- 93:837a13760026
--- a/source/Main.cpp Mon May 01 18:03:17 2017 +0000
+++ b/source/Main.cpp Tue May 02 09:55:55 2017 +0000
@@ -176,11 +176,12 @@
wait_ms(500);
arm_position_grabbing();
wait_ms(1000);
- //move_forward_for_distance(5.0);
+ move_for_distance(5.0);
close_grabber();
wait_ms(500);
if (get_color() == 0) {
open_grabber();
+ move_for_distance(-5.0);
}
wait_ms(500);
state = 102;
