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
TESTS/MockServomotor.hpp
- Committer:
- Maxime Dupuis
- Date:
- 2017-03-08
- Revision:
- 18:353fb432c03c
File content as of revision 18:353fb432c03c:
#ifndef MOCK_SERVOMOTOR_HPP #define MOCK_SERVOMOTOR_HPP #include "ServomotorInterface.hpp" class MockServomotor : public ServomotorInterface { public: MOCK_METHOD0(set_position_up, void()); MOCK_METHOD0(set_position_down, void()); MOCK_METHOD1(set_angle, void(const float angle_degree)); }; #endif