$search

MapLanes Class Reference

#include <MapLanes.h>

List of all members.

Public Member Functions

int getAllLanes (art_msgs::ArtLanes *lanes)
int getLanes (art_msgs::ArtLanes *lanes, MapXY here)
int getVisionLanes (art_msgs::ArtLanes *lanes, float x, float y, float heading)
 MapLanes (float r=-1)
int MapRNDF (Graph *_graph, float _max_poly_size=MIN_POLY_SIZE)
void SetGPS (double centerX, double centerY)
void SetRobotPos (MapPose pose)
void testDraw (bool with_trans, const ZonePerimeterList &zones)
void testDraw (bool with_trans=false)
void UpdatePoly (polyUpdate upPoly, float rX, float rY, float rOri)
void UpdateWithCurrent (int i)
 ~MapLanes ()

Private Member Functions

poly build_waypoint_poly (const WayPointNode &w1, const WayPointEdge &e, const Point2f &_pt, float time, SmoothCurve &c)
bool LoadFromFile (char *fName)
void MakeLanePolygon (WayPointNode w1, WayPointNode w2, WayPointEdge e, float time1, float time2, SmoothCurve &c, bool new_edge, float ltime1, float ltime2, SmoothCurve &lc, float rtime1, float rtime2, SmoothCurve &rc)
void MakePolygons ()
void MakeTransitionPolygon (WayPointNode w1, WayPointNode w2, WayPointEdge e, float time1, float time2, SmoothCurve &c)
void SetFilteredPolygons ()
bool WriteToFile (char *fName)

Private Attributes

std::vector< polyallPolys
double cX
double cY
std::vector< FilteredPolygonfiltPolys
Graphgraph
float max_poly_size
PolyOps ops
int32_t poly_id_counter
float range
float rOri
float rX
float rY
int trans_index
bool transition

Detailed Description

Definition at line 43 of file MapLanes.h.


Constructor & Destructor Documentation

MapLanes::MapLanes ( float  r = -1  )  [inline]

Definition at line 46 of file MapLanes.h.

MapLanes::~MapLanes (  )  [inline]

Definition at line 52 of file MapLanes.h.


Member Function Documentation

poly MapLanes::build_waypoint_poly ( const WayPointNode w1,
const WayPointEdge e,
const Point2f _pt,
float  time,
SmoothCurve c 
) [private]

Definition at line 314 of file MapLanes.cc.

int MapLanes::getAllLanes ( art_msgs::ArtLanes lanes  ) 

copy all polygons to an ArtLanes message.

Returns:
number of polygons added

Definition at line 797 of file MapLanes.cc.

int MapLanes::getLanes ( art_msgs::ArtLanes lanes,
MapXY  here 
)

Definition at line 811 of file MapLanes.cc.

int MapLanes::getVisionLanes ( art_msgs::ArtLanes lanes,
float  x,
float  y,
float  heading 
)

Definition at line 837 of file MapLanes.cc.

bool MapLanes::LoadFromFile ( char *  fName  )  [private]

Definition at line 1131 of file MapLanes.cc.

void MapLanes::MakeLanePolygon ( WayPointNode  w1,
WayPointNode  w2,
WayPointEdge  e,
float  time1,
float  time2,
SmoothCurve c,
bool  new_edge,
float  ltime1,
float  ltime2,
SmoothCurve lc,
float  rtime1,
float  rtime2,
SmoothCurve rc 
) [private]

Definition at line 399 of file MapLanes.cc.

void MapLanes::MakePolygons (  )  [private]

Definition at line 71 of file MapLanes.cc.

void MapLanes::MakeTransitionPolygon ( WayPointNode  w1,
WayPointNode  w2,
WayPointEdge  e,
float  time1,
float  time2,
SmoothCurve c 
) [private]

Definition at line 652 of file MapLanes.cc.

int MapLanes::MapRNDF ( Graph _graph,
float  _max_poly_size = MIN_POLY_SIZE 
)

Definition at line 40 of file MapLanes.cc.

void MapLanes::SetFilteredPolygons (  )  [private]

Definition at line 298 of file MapLanes.cc.

void MapLanes::SetGPS ( double  centerX,
double  centerY 
) [inline]

Definition at line 65 of file MapLanes.h.

void MapLanes::SetRobotPos ( MapPose  pose  )  [inline]

Definition at line 71 of file MapLanes.h.

void MapLanes::testDraw ( bool  with_trans,
const ZonePerimeterList zones 
)

Definition at line 960 of file MapLanes.cc.

void MapLanes::testDraw ( bool  with_trans = false  ) 

Definition at line 953 of file MapLanes.cc.

void MapLanes::UpdatePoly ( polyUpdate  upPoly,
float  rX,
float  rY,
float  rOri 
)

Definition at line 875 of file MapLanes.cc.

void MapLanes::UpdateWithCurrent ( int  i  ) 

Definition at line 929 of file MapLanes.cc.

bool MapLanes::WriteToFile ( char *  fName  )  [private]

Definition at line 1096 of file MapLanes.cc.


Member Data Documentation

std::vector<poly> MapLanes::allPolys [private]

Definition at line 87 of file MapLanes.h.

double MapLanes::cX [private]

Definition at line 129 of file MapLanes.h.

double MapLanes::cY [private]

Definition at line 130 of file MapLanes.h.

std::vector<FilteredPolygon> MapLanes::filtPolys [private]

Definition at line 88 of file MapLanes.h.

Graph* MapLanes::graph [private]

Definition at line 97 of file MapLanes.h.

float MapLanes::max_poly_size [private]

Definition at line 90 of file MapLanes.h.

Definition at line 123 of file MapLanes.h.

int32_t MapLanes::poly_id_counter [private]

Definition at line 86 of file MapLanes.h.

float MapLanes::range [private]

Definition at line 92 of file MapLanes.h.

float MapLanes::rOri [private]

Definition at line 99 of file MapLanes.h.

float MapLanes::rX [private]

Definition at line 99 of file MapLanes.h.

float MapLanes::rY [private]

Definition at line 99 of file MapLanes.h.

int MapLanes::trans_index [private]

Definition at line 95 of file MapLanes.h.

bool MapLanes::transition [private]

Definition at line 94 of file MapLanes.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda, Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Fri Mar 1 14:12:37 2013