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

include/Calibrator.hpp

Committer:
Maxime Dupuis
Date:
2017-04-12
Revision:
51:6bf268cd1a1b
Parent:
46:853966aab733

File content as of revision 51:6bf268cd1a1b:

#ifndef CALIBRATOR_HPP
#define CALIBRATOR_HPP

#include "Servomotor.hpp"

class Calibrator
{
    public:
        Calibrator(Servomotor& servomotor);
        void calibrate();
        void on_rise();
        
    private:
        Servomotor& servomotor;
        bool is_bumper_pressed;
};

#endif