Autonomous line tracking with bump sensor

Fork of SeeedShieldBot by Components

Revision:
9:e7a86f43d5ad
Parent:
8:9fd1722259a1
--- a/SeeedStudioShieldBot.h	Thu Jul 31 14:42:21 2014 +0000
+++ b/SeeedStudioShieldBot.h	Thu Aug 20 21:45:07 2015 +0000
@@ -103,6 +103,11 @@
          */
         float line_position();
         
+        /** Returns the values read by the sensors from Right to Left
+        *   @return array of int giving the values read by the IR sensors
+        */
+        int* get_IR();
+        
         DigitalIn rightSensor;
         DigitalIn inRightSensor;
         DigitalIn centreSensor;