EGraphPlayerIF.h File Reference

#include <libplayerc++/playerc++.h>
#include <vector>
#include <list>
#include <unistd.h>
#include <math.h>
#include <cstdlib>
#include <assert.h>
#include <iostream>
#include <fstream>
#include <R2.h>
#include <Grid.h>
#include <Scan.h>
#include "args.h"
#include "utils.h"

Go to the source code of this file.

Classes

class  PursuitAgent

Typedefs

typedef uint Identity
typedef std::vector< PosePath
typedef std::vector
< PursuitAgent * > 
AgentVector
 Vector of ClearingAgents.
typedef std::vector< PoseViewPoints

Enumerations

enum  BehaviorTypes {
  EXPAND, GUARD, FOLLOW, WANDER,
  NO_BEHAVIOR, EXPAND, GUARD, FOLLOW,
  WANDER, NO_BEHAVIOR
}
enum  KeepColor {
  KEEP_UNKNOWN, KEEP_ORANGE, KEEP_PURPLE, KEEP_UNKNOWN,
  KEEP_ORANGE, KEEP_PURPLE
}

Functions

Pose adjustViewPoint (Pose initialPose)
void drawSquare (player_color_t color, Position pos, double border, bool bFill)
void drawX (player_color_t color, Position pos, double width)
void drawRedX (Position pos, double width)
void logData ()

Variables

ofstream gLogFile
Timer gTotalTimer
int gIterCount
GridgGlobalGrid
AgentVector gAgentVector
PlayerClient * gPC
Graphics2dProxy * gGP = NULL
MapProxy * gMP = NULL
int gMapWidth = -1
int gMapHeight = -1
double gMapResolution = -1
int gMinArcSize = 2
int gMinMergeArcSize = 1
int gMinRadialArcSize = 3
double gSafeRangeFrac = 0.92
double gSafeAngleFrac = 0.92
double gCoverDistScalar = 1.0
double gOverlapFactor = 1.08


Typedef Documentation

Vector of ClearingAgents.

Author:
Joey Durham and Paolo Stegagno

typedef uint Identity

typedef std::vector<Pose > Path

typedef std::vector<Pose > ViewPoints


Enumeration Type Documentation

Enumerator:
EXPAND 
GUARD 
FOLLOW 
WANDER 
NO_BEHAVIOR 
EXPAND 
GUARD 
FOLLOW 
WANDER 
NO_BEHAVIOR 

enum KeepColor

Enumerator:
KEEP_UNKNOWN 
KEEP_ORANGE 
KEEP_PURPLE 
KEEP_UNKNOWN 
KEEP_ORANGE 
KEEP_PURPLE 


Function Documentation

Pose adjustViewPoint ( Pose  initialPose  ) 

void drawRedX ( Position  pos,
double  width 
)

void drawSquare ( player_color_t  color,
Position  pos,
double  border,
bool  bFill 
)

void drawX ( player_color_t  color,
Position  pos,
double  width 
)

void logData (  ) 


Variable Documentation

double gCoverDistScalar = 1.0

Graphics2dProxy* gGP = NULL

ofstream gLogFile

int gMapHeight = -1

double gMapResolution = -1

int gMapWidth = -1

int gMinArcSize = 2

MapProxy* gMP = NULL

double gOverlapFactor = 1.08

PlayerClient* gPC

double gSafeAngleFrac = 0.92

double gSafeRangeFrac = 0.92


Generated on Mon Feb 20 07:01:08 2017 for MIP by  doxygen 1.5.6