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/mocks/MockServomotor.hpp
- Committer:
- Maxime Dupuis
- Date:
- 2017-04-12
- Revision:
- 51:6bf268cd1a1b
- Parent:
- 26:328f659fc1b3
File content as of revision 51:6bf268cd1a1b:
#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