old_contents: import perception
  
  def displayDistribution(grid):
    import matplotlib.pyplot as plt
    from matplotlib import cm
  
    plt.imshow(grid, cmap=cm.gray)
    plt.show()
  
  
  values = [50,50,50,50,50,50,50,50,50]
  
  grid = perception.getSonarDistribution(values)
  #grid = perception.getLidarDistribution(values)
  #grid = perception.getZEDDistribution(values)
  displayDistribution(grid)
  
  
  
  
new_contents: import sys
  sys.path.append("../perception")
  import perception
  
  def displayDistribution(name, grid):
    import matplotlib.pyplot as plt
    from matplotlib import cm
  
    plt.imshow(name, np.flipud(grid) * 255.0, cmap=cm.gray)
    plt.show()
  
  
  values = [50,50,50,50,50,50,50,50,50]
  
  grid = perception.getSonarDistribution(values)
  displayDistribution("Sonar", grid)
  #grid = perception.getLidarDistribution(values)
  #displayDistribution("Lidar", grid)
  #grid = perception.getZEDDistribution(values)
  #displayDistribution("ZED", grid)
  
subject: add syspath