src/visualizations/path_display.py
def add_path(self, path, color=_GREEN):
        """ Add a list of points to the list of paths """
        # Add the path and the color
        self.pathList.append(path)
        self.colrList.append(color)
        # If the number of paths have been exceeded
        # then erase the first static path (index 1)
        if (len(self.pathList) - 1) > _PATHNUMLIMIT:
            self.pathList.pop(1)
            self.colrList.pop(1)
 Add a list of points to the list of paths 
Add a list of points to the list of paths
Add a list of points to the list of paths
def add_path(self, path, color=_GREEN):
        self.pathList.append(path)
        self.colrList.append(color)
        if (len(self.pathList) - 1) > _PATHNUMLIMIT:
            self.pathList.pop(1)
            self.colrList.pop(1)
def add_path ( self , path , color = _GREEN ) : self . pathList . append ( path ) self . colrList . append ( color ) if ( len ( self . pathList ) - 1 ) > _PATHNUMLIMIT : self . pathList . pop ( 1 ) self . colrList . pop ( 1 )
Add a list of points to the list of paths
Add a list of points to the list of paths
""" Add a list of points to the list of paths """ # Add the path and the color # If the number of paths have been exceeded # then erase the first static path (index 1)
self
path
color