2017ロボコンはやとブーメランプログラム

Dependencies:   PID QEI ikarashiMDC recieveController omni

Committer:
WAT34
Date:
Fri Dec 01 18:16:33 2017 +0900
Revision:
25:fd4fb86b4148
Parent:
18:4b629221c215
Child:
20:d052a0679309
Child:
21:aad4a4adc18c
hopee it workks

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WAT34 3:01947ec86f09 1 #ifndef SPIRAL_H
WAT34 3:01947ec86f09 2 #define SPIRAL_H
WAT34 3:01947ec86f09 3
WAT34 3:01947ec86f09 4 #include "mbed.h"
WAT34 3:01947ec86f09 5 #include "ikarashiMDC.h"
WAT34 3:01947ec86f09 6
WAT34 3:01947ec86f09 7 class Spiral
WAT34 3:01947ec86f09 8 {
WAT34 3:01947ec86f09 9 public:
WAT34 17:311aed3cad15 10 Spiral(ikarashiMDC *spiralMotor_);
WAT34 3:01947ec86f09 11 int rotate();
WAT34 17:311aed3cad15 12 bool firing;
WAT34 17:311aed3cad15 13 float beltSpeed,spiralSpeed;
WAT34 17:311aed3cad15 14 InterruptIn *spiralLimit;
WAT34 17:311aed3cad15 15
WAT34 3:01947ec86f09 16
WAT34 3:01947ec86f09 17 private:
WAT34 3:01947ec86f09 18 ikarashiMDC *spiralMotor;
WAT34 3:01947ec86f09 19 bool rotating;
WAT34 6:0bee4b2bb400 20 void stopRotation();
WAT34 17:311aed3cad15 21 void beltStop();
WAT34 18:4b629221c215 22 void beltStart();
WAT34 17:311aed3cad15 23 Timeout beltTime;
WAT34 3:01947ec86f09 24 };
WAT34 3:01947ec86f09 25
WAT34 3:01947ec86f09 26 #endif /* end of include guard: SPIRAL_H */