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

Dependencies:   PID QEI ikarashiMDC recieveController omni

Committer:
WAT34
Date:
Sun Oct 15 13:42:12 2017 +0900
Revision:
17:311aed3cad15
Parent:
6:0bee4b2bb400
Child:
18:4b629221c215
pid tuned

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 17:311aed3cad15 22 Timeout beltTime;
WAT34 3:01947ec86f09 23 };
WAT34 3:01947ec86f09 24
WAT34 3:01947ec86f09 25 #endif /* end of include guard: SPIRAL_H */