Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
Diff: Kalman/IR/IR.h
- Revision:
- 5:7ac07bf30707
- Parent:
- 4:7b7334441da9
--- a/Kalman/IR/IR.h Thu Apr 26 22:05:59 2012 +0000 +++ b/Kalman/IR/IR.h Thu Apr 26 23:49:49 2012 +0000 @@ -7,22 +7,22 @@ //forward declaration of class Kalman to avoid cyclic include class Kalman; -class IR{ +class IR { public: -Serial IRserial; + Serial IRserial; -bool angleInit; // = false; -float angleOffset; // = 0; + bool angleInit; // = false; + float angleOffset; // = 0; -IR(Kalman &kalmanin); -void detachisr(); -void attachisr(); -void vIRValueISR (void); + IR(Kalman &kalmanin); + void detachisr(); + void attachisr(); + void vIRValueISR (void); private: //reference to the kalman object to run the updates on -Kalman& kalman; + Kalman& kalman; }; #endif //IR_H \ No newline at end of file