Robot Devastation
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
rd::MockRobotManager Class Reference

The Robot Manager for testing.

#include <MockRobotManager.hpp>

Inheritance diagram for rd::MockRobotManager:

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 ()
 

Static Public Attributes

static const int FORWARD = 1
 
static const int BACKWARDS = 2
 
static const int LEFT = 3
 
static const int RIGHT = 4
 
static const int NONE = 0
 
static const int CAMERA_UP = 7
 
static const int CAMERA_DOWN = 6
 
static const int CAMERA_LEFT = 8
 
static const int CAMERA_RIGHT = 9
 
static const int CAMERA_NONE = 5
 

Private Attributes

std::string robotName
 
int movement_direction
 
int camera_movement_direction
 

The documentation for this class was generated from the following files: