Robot Devastation
|
The Robot Manager for testing.
#include <MockRobotManager.hpp>
Public Member Functions | |
MockRobotManager (const std::string &robotName) | |
virtual bool | moveForward (double value) |
Robot: Move forward (use negative value for move backward). position mode [m]. Velocity mode [m/s]. | |
virtual bool | turnLeft (double value) |
Robot: Turn left (use negative value for turn left). position mode [deg]. Velocity mode [deg/s]. | |
virtual bool | stopMovement () |
Robot: Stop movement. | |
virtual bool | tiltDown (double value) |
Robot camera: Tilt down (use negative value for tilt up). position mode [deg]. Velocity mode [deg/s]. | |
virtual bool | panLeft (double value) |
Robot camera: Pan left (use negative value for pan right). position mode [deg]. Velocity mode [deg/s]. | |
virtual bool | stopCameraMovement () |
Robot camera: Stop movement. | |
bool | isMoving () const |
int | getMovementDirection () |
bool | isCameraMoving () |
int | getCameraMovementDirection () |
Private Attributes | |
std::string | robotName |
int | movement_direction |
int | camera_movement_direction |