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/Movement.cpp
- Revision:
- 80:956f65714207
- Parent:
- 77:ff87a10c4baf
- Child:
- 84:5d3bca1ece20
- Child:
- 86:d8ea8a99fa3a
diff -r 92b9d083322d -r 956f65714207 source/Movement.cpp
--- a/source/Movement.cpp Wed Apr 26 07:30:03 2017 +0000
+++ b/source/Movement.cpp Mon May 01 07:39:18 2017 +0000
@@ -156,7 +156,7 @@
first_search_cycle=true; // set flag to start turning once again respectivly to get in Initialstate
lower=getDistanceIR(6); // Measure distance to Brick for Movement
distance_to_Brick = lower-OFFSET_GREIFER_TO_IRSENSOR; // calculate
- move_forward_for_distance(distance_to_Brick); // Move to Brick ATTENTION FUNCTION NOT IMPLEMENTED YET
+ move_forward_for_distance(distance_to_Brick); //not whole distance, rest in next function // Move to Brick ATTENTION FUNCTION NOT IMPLEMENTED YET
arm_position_grabbing(); // Call Aeschlimans function MOVE A LITTLE AFTER GREIFER ON FLOOR IN AESCHLIMANS FUNCTION?
//movement_to_brick_finished=true;
}
