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
Revision 101:dae11a6102d4, committed 2017-05-03
- Comitter:
- aeschsim
- Date:
- Wed May 03 09:16:03 2017 +0000
- Parent:
- 100:1bef91db2175
- Child:
- 103:bfc4403527e4
- Commit message:
- optimized grabbing functions;
Changed in this revision
| source/Grabbing.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/Grabbing.cpp Wed May 03 08:59:48 2017 +0000
+++ b/source/Grabbing.cpp Wed May 03 09:16:03 2017 +0000
@@ -50,7 +50,7 @@
break;
case 7:
if(arm_position_release()) {
- wait(0.15f);
+ wait(0.5f);
open_grabber();
grabbing_state = 10;
}
@@ -101,7 +101,7 @@
{
if( init2 == true) {
set_servo_position(4, servo4max);
- wait_ms(50);
+ wait_ms(300);
i = servo6max;
init2 = false;
} else {
