kani

Dependencies:   2017NHKpin_config FEP omni_wheel PID R1307 ikarashiMDC

classDiagram

    \ ̄\                   / ̄/ 
/l     \  \             /  / lヽ  
| ヽ  ヽ   |           |  /  / | 
\ ` ‐ヽ  ヽ  ●        ●         /  / ‐  / 
  \ __ l  |  ||___|| /  l __ / 
     \  \ /      \/ 
      /\|   人__人  |/\    <ズワイガニ  
    //\|             |/\\     
    //\|   ケガニ            |/\\     
    /     . \_____/         \ 

                               ┏┓        ┏━┓┏┓              
     ┏┓         ┏┓┏┓   ┏┓    ┏┓┗┛     ┏┓ ┗┓┃┗┛              
┏┛┗━┓  ┃┃┃┃    ┃┃┏━┛┗┓┏┓┏┛┗━┓┃┃┏┓┏┓┏━━━┓ 
┗┓┏━┛  ┃┃┗┛    ┃┃┗━┓┏┛┗┛┗┓┏┓┃┗┛┗┛┃┃┗━━━┛    
┏┛┃┏━┓┃┗━━┓┃┃┏━┛┗┓      ┏┛┃┃┃        ┃┃              
┃┏┛┗━┛┗━━┓┃┃┃┃┏┓┏┛      ┗━┛┃┃        ┃┃┏┓          
┃┃┏━━┓┏━━┛┃┃┃┃┗┛┃         ┏┛┃        ┃┃┃┗━━┓    
┗┛┗━━┛┗━━━┛┗┛┗━━┛         ┗━┛        ┗┛┗━━━┛  
Branch:
develop1
Revision:
16:50651ff960b9
Parent:
15:9aa11febe517
Child:
18:78df87e20590
--- a/bot/slider/slider.h	Sun Sep 17 00:53:01 2017 +0900
+++ b/bot/slider/slider.h	Mon Sep 25 18:15:43 2017 +0900
@@ -6,7 +6,7 @@
 #include "ikarashiMDC.h"
 #include "QEI.h"
 
-const int PULSES_PER_REV = 6;
+const int PULSES_PER_REV = 720;
 
 class Slider {
 public:
@@ -15,10 +15,12 @@
 	void slide(float speed);
 private:
 	void resetheight();
+	bool isReseted;
 
 	ikarashiMDC slideMotor;
 	QEI encoder;
 	InterruptIn limitSwitch;
+	Serial slideSerial;
 };
 
 #endif