#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< Pose > | Path |
typedef std::vector < PursuitAgent * > | AgentVector |
Vector of ClearingAgents. | |
typedef std::vector< Pose > | ViewPoints |
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 |
Grid * | gGlobalGrid |
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 |
Vector of ClearingAgents.
typedef uint Identity |
typedef std::vector<Pose > ViewPoints |
enum BehaviorTypes |
enum KeepColor |
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 | ( | ) |
double gCoverDistScalar = 1.0 |
Graphics2dProxy* gGP = NULL |
int gIterCount |
ofstream gLogFile |
int gMapHeight = -1 |
double gMapResolution = -1 |
int gMapWidth = -1 |
int gMinArcSize = 2 |
int gMinMergeArcSize = 1 |
int gMinRadialArcSize = 3 |
MapProxy* gMP = NULL |
double gOverlapFactor = 1.08 |
PlayerClient* gPC |
double gSafeAngleFrac = 0.92 |
double gSafeRangeFrac = 0.92 |