Classes | Functions | Variables
pong.cpp File Reference
#include <interactive_markers/interactive_marker_server.h>
#include <ros/ros.h>
#include <math.h>
#include <boost/thread/mutex.hpp>
Include dependency graph for pong.cpp:

Go to the source code of this file.

Classes

struct  PongGame::PlayerContext
class  PongGame

Functions

int main (int argc, char **argv)

Variables

static const float AI_SPEED_LIMIT = 0.25
static const float BORDER_SIZE = 0.5
static const float FIELD_HEIGHT = 8.0
static const float FIELD_WIDTH = 12.0
static const float PADDLE_SIZE = 2.0
static const float PLAYER_X = FIELD_WIDTH * 0.5 + BORDER_SIZE
static const float UPDATE_RATE = 1.0 / 30.0

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 493 of file pong.cpp.


Variable Documentation

const float AI_SPEED_LIMIT = 0.25 [static]

Definition at line 45 of file pong.cpp.

const float BORDER_SIZE = 0.5 [static]

Definition at line 41 of file pong.cpp.

const float FIELD_HEIGHT = 8.0 [static]

Definition at line 40 of file pong.cpp.

const float FIELD_WIDTH = 12.0 [static]

Definition at line 39 of file pong.cpp.

const float PADDLE_SIZE = 2.0 [static]

Definition at line 42 of file pong.cpp.

const float PLAYER_X = FIELD_WIDTH * 0.5 + BORDER_SIZE [static]

Definition at line 44 of file pong.cpp.

const float UPDATE_RATE = 1.0 / 30.0 [static]

Definition at line 43 of file pong.cpp.



interactive_marker_tutorials
Author(s): David Gossow
autogenerated on Mon Oct 6 2014 08:46:33