Roboshark / Mbed 2 deprecated LANGSAM_FAHREN

Dependencies:   mbed

Fork of LANGSAM_FAHREN by Georgios Charalampidis

Files at this revision

API Documentation at this revision

Comitter:
charageo
Date:
Mon Apr 16 13:15:53 2018 +0000
Commit message:
lol

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Apr 16 13:15:53 2018 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+ 
+
+case LANGSAM_FAHREN;
+
+if ((fabs(controller.getActualTranslationalVelocity()) < 0.01f )
+    && (fabs(controller.getActualRotationalVelocity()) < 0.1f ) {
+    enableMotorDriver = 0;
+    state = ROBOT_OFF;
+    }
+    break;
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Apr 16 13:15:53 2018 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/994bdf8177cb
\ No newline at end of file