NerfUS mobile node that manages a target for the Nerf gun firing range

Dependencies:   LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager

Fork of NerfUS by NerfUS

Committer:
Maxime Dupuis
Date:
Wed Apr 12 10:33:32 2017 -0400
Revision:
51:6bf268cd1a1b
Parent:
46:853966aab733
Update tests to ignore target hits before 750ms threshold

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GaiSensei 46:853966aab733 1 #ifndef TARGET_HIT_CALIBRATE_CALLBACK_HPP
GaiSensei 46:853966aab733 2 #define TARGET_HIT_CALIBRATE_CALLBACK_HPP
GaiSensei 46:853966aab733 3
GaiSensei 46:853966aab733 4 #include "NerfusCallbackInterface.hpp"
GaiSensei 46:853966aab733 5 #include "Calibrator.hpp"
GaiSensei 46:853966aab733 6
GaiSensei 46:853966aab733 7 class TargetHitCalibrateCallback : public NerfusCallbackInterface
GaiSensei 46:853966aab733 8 {
GaiSensei 46:853966aab733 9 public:
GaiSensei 46:853966aab733 10 TargetHitCalibrateCallback(Calibrator& calibrator);
GaiSensei 46:853966aab733 11 virtual void call();
GaiSensei 46:853966aab733 12
GaiSensei 46:853966aab733 13 private:
GaiSensei 46:853966aab733 14 Calibrator& calibrator;
GaiSensei 46:853966aab733 15 };
GaiSensei 46:853966aab733 16
GaiSensei 46:853966aab733 17 #endif