Quadrifoglio / Mbed OS 00_yotsuba

Dependencies:   sensorGen Robot omni_wheel PID jy901 solenoid aqm0802 camera beep kohiMD linesSnsor lpf RCJESC

Revision:
4:4812eb6367b5
Parent:
0:ac64597d2ef8
Child:
9:63d7e7f07536
--- a/sensorGen/sensorGen.h	Thu Jan 30 08:26:58 2020 +0000
+++ b/sensorGen/sensorGen.h	Thu Jan 30 09:06:20 2020 +0000
@@ -6,16 +6,32 @@
 #include "camera.h"
 #include "line.h"
 #include "jy901.h"
+#include "pin_config.h"
 
 class sensor{
 public :
-       sensor();
+    sensor();
+       
+    void sensorloop();
        
-       float jy901();
+//    float jy901();
+       
+//    float hcsr04();
        
-       float hcsr04();
-       
-       float 
+//    float camera();
+    
+    bool line[6];
+    float angle;
+    float angleLimit;
+    float ballAngle;
+    float ballRange;
+    bool ballKeep;
+private:
+    Thread thread;
+    Line *_line[6];
+    Cam camera;
+    JY901 jy;
+    DigitalIn limit;
 }
 
 #endif
\ No newline at end of file