Public Member Functions | Public Attributes | List of all members
grid_creator.GridCreator Class Reference

Public Member Functions

def __init__ (self)
 
def calcDist (self, x, y)
 
def colorHexagon (self, i, j, Offset, Htrans, Vtrans, StepSize, r, g, b, k, ns)
 
def colorQuad (self, i, j, Offset, Htrans, Vtrans, StepSize, r, g, b, k, ns)
 
def createGrid (self)
 
def drawHexagon (self, i, j, Offset, Htrans, Vtrans, StepSize, r, g, b, k, ns)
 
def drawQuad (self, i, j, Offset, Htrans, Vtrans, StepSize, r, g, b, k, ns)
 
def frange (self, start, stop, step)
 
def getMarker (self, pose, k, n_s, r, g, b)
 
def getMarkerArrow (self, points, k, n_s, r, g, b)
 
def getMarkerLine (self, points, k, n_s, r, g, b)
 
def isRobotPositionAllowed (self, robotPosition)
 
def nearest_neighbour (self, PoseListe)
 
def transformPoint (self, point, Offset, Htrans, Vtrans)
 
def two_opt_with_cycle (self, orderedPoseListe)
 
def two_opt_without_cycle (self, orderedPoseListe)
 

Public Attributes

 GridType
 
 Htrans
 
 k
 
 markerArray
 
 Offset
 
 PoseListe
 
 StepSize
 
 Vtrans
 
 Xmax
 
 Ymax
 

Detailed Description

Definition at line 33 of file grid_creator.py.

Constructor & Destructor Documentation

def grid_creator.GridCreator.__init__ (   self)

Definition at line 35 of file grid_creator.py.

Member Function Documentation

def grid_creator.GridCreator.calcDist (   self,
  x,
  y 
)
returns the distance between two points using the appropriate service call

Definition at line 286 of file grid_creator.py.

def grid_creator.GridCreator.colorHexagon (   self,
  i,
  j,
  Offset,
  Htrans,
  Vtrans,
  StepSize,
  r,
  g,
  b,
  k,
  ns 
)
returns a list of triangle marker to color the Hexagonal grid

Definition at line 386 of file grid_creator.py.

def grid_creator.GridCreator.colorQuad (   self,
  i,
  j,
  Offset,
  Htrans,
  Vtrans,
  StepSize,
  r,
  g,
  b,
  k,
  ns 
)
returns a list of triangle marker to color the quad grid

Definition at line 459 of file grid_creator.py.

def grid_creator.GridCreator.createGrid (   self)

Definition at line 161 of file grid_creator.py.

def grid_creator.GridCreator.drawHexagon (   self,
  i,
  j,
  Offset,
  Htrans,
  Vtrans,
  StepSize,
  r,
  g,
  b,
  k,
  ns 
)
returns a list of line marker to draw the Hexagonal grid

Definition at line 366 of file grid_creator.py.

def grid_creator.GridCreator.drawQuad (   self,
  i,
  j,
  Offset,
  Htrans,
  Vtrans,
  StepSize,
  r,
  g,
  b,
  k,
  ns 
)
returns a list of line marker to draw the quad grid

Definition at line 443 of file grid_creator.py.

def grid_creator.GridCreator.frange (   self,
  start,
  stop,
  step 
)

Definition at line 266 of file grid_creator.py.

def grid_creator.GridCreator.getMarker (   self,
  pose,
  k,
  n_s,
  r,
  g,
  b 
)
returns a sphere marker

Definition at line 298 of file grid_creator.py.

def grid_creator.GridCreator.getMarkerArrow (   self,
  points,
  k,
  n_s,
  r,
  g,
  b 
)
returns an arrow marker

Definition at line 336 of file grid_creator.py.

def grid_creator.GridCreator.getMarkerLine (   self,
  points,
  k,
  n_s,
  r,
  g,
  b 
)
returns a line marker

Definition at line 317 of file grid_creator.py.

def grid_creator.GridCreator.isRobotPositionAllowed (   self,
  robotPosition 
)
returns if robotPosition is allowed using the appropriate service call

Definition at line 273 of file grid_creator.py.

def grid_creator.GridCreator.nearest_neighbour (   self,
  PoseListe 
)
returns an ordered list from pose using the nearest neighbout algo

Definition at line 543 of file grid_creator.py.

def grid_creator.GridCreator.transformPoint (   self,
  point,
  Offset,
  Htrans,
  Vtrans 
)
returns a transformed point using Offset rotation and (Htrans,Vtrans) translation

Definition at line 356 of file grid_creator.py.

def grid_creator.GridCreator.two_opt_with_cycle (   self,
  orderedPoseListe 
)
returns an optimised list from an orderedpose using the 2-opt algo with creating a Hamilton cycle

Definition at line 506 of file grid_creator.py.

def grid_creator.GridCreator.two_opt_without_cycle (   self,
  orderedPoseListe 
)
returns an optimised list from an orderedpose using the 2-opt algo without creating a Hamilton cycle

Definition at line 529 of file grid_creator.py.

Member Data Documentation

grid_creator.GridCreator.GridType

Definition at line 39 of file grid_creator.py.

grid_creator.GridCreator.Htrans

Definition at line 72 of file grid_creator.py.

grid_creator.GridCreator.k

Definition at line 81 of file grid_creator.py.

grid_creator.GridCreator.markerArray

Definition at line 80 of file grid_creator.py.

grid_creator.GridCreator.Offset

Definition at line 77 of file grid_creator.py.

grid_creator.GridCreator.PoseListe

Definition at line 79 of file grid_creator.py.

grid_creator.GridCreator.StepSize

Definition at line 70 of file grid_creator.py.

grid_creator.GridCreator.Vtrans

Definition at line 74 of file grid_creator.py.

grid_creator.GridCreator.Xmax

Definition at line 37 of file grid_creator.py.

grid_creator.GridCreator.Ymax

Definition at line 38 of file grid_creator.py.


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


asr_grid_creator
Author(s): Borella Jocelyn, Karrenbauer Oliver, Meißner Pascal
autogenerated on Thu Nov 21 2019 03:22:28