Eurobot2012_Primary

Dependencies:   mbed Eurobot_2012_Primary

Eurobot_shared/Kalman/IR/IR.h

Committer:
narshu
Date:
2012-05-04
Revision:
24:7a3906c2f5d5
Parent:
9:377560539b74

File content as of revision 24:7a3906c2f5d5:


#ifndef IR_H
#define IR_H

#include "mbed.h"

//forward declaration of class Kalman to avoid cyclic include
class Kalman;

class IR {
public:

    Serial IRserial;

    IR(Kalman &kalmanin);
    void detachisr();
    void attachisr();
    void vIRValueISR (void);

private:
//reference to the kalman object to run the updates on
    Kalman& kalman;
};

#endif //IR_H