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:
- 84:5d3bca1ece20
- Parent:
- 83:50f8d58f79ab
- Parent:
- 80:956f65714207
- Child:
- 87:df8c869a5a52
diff -r 50f8d58f79ab -r 5d3bca1ece20 source/Movement.cpp
--- a/source/Movement.cpp Mon May 01 09:25:06 2017 +0000
+++ b/source/Movement.cpp Mon May 01 09:29:10 2017 +0000
@@ -158,7 +158,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;
}
