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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MockServomotor.hpp Source File

MockServomotor.hpp

00001 #ifndef MOCK_SERVOMOTOR_HPP
00002 #define MOCK_SERVOMOTOR_HPP
00003 
00004 #include "ServomotorInterface.hpp"
00005 
00006 class MockServomotor : public ServomotorInterface
00007 {
00008     public:
00009         MOCK_METHOD0(set_position_up, void());
00010         MOCK_METHOD0(set_position_down, void());
00011         MOCK_METHOD1(set_angle, void(const float angle_degree));
00012 };
00013 
00014 #endif