Classes | Functions | Variables
grid-map.cpp File Reference
#include "ethzasl_gridmap_2d/grid-map.h"
#include "ethzasl_gridmap_2d/grid-functors.h"
#include "ros/time.h"
#include <cassert>
#include <cstdlib>
#include <algorithm>
#include <queue>
#include <fstream>
#include <iostream>
#include <map>
#include <vector>
#include <deque>
#include <set>
#include <limits>
#include <stdexcept>
Include dependency graph for grid-map.cpp:

Go to the source code of this file.

Classes

class  UniquePairsMultiMap< Key, Value >

Functions

float binaryEntropy (const GridMap::Value v)
static float gaussianRand (float mean, float sigm)
 Return a random number with a gaussian distribution of a certain mean and standard deviation.
static GridMap::Vector getRandomPoint (const GridMap::Label &area, const int resolution)
static float uniformRand (void)
 Return a number in [0;1[ in a uniform distribution.

Variables

static const int lookupMap4 [][2]
static const int lookupMap8 [][2]

Function Documentation

float binaryEntropy ( const GridMap::Value  v) [inline]

Definition at line 1087 of file grid-map.cpp.

static float gaussianRand ( float  mean,
float  sigm 
) [static]

Return a random number with a gaussian distribution of a certain mean and standard deviation.

Definition at line 856 of file grid-map.cpp.

static GridMap::Vector getRandomPoint ( const GridMap::Label area,
const int  resolution 
) [static]

Definition at line 878 of file grid-map.cpp.

static float uniformRand ( void  ) [static]

Return a number in [0;1[ in a uniform distribution.

Definition at line 849 of file grid-map.cpp.


Variable Documentation

const int lookupMap4[][2] [static]
Initial value:
 {
        { 0, -1 },              
        { -1, 0 },              
        { 1, 0 },               
        { 0, 1 },               
}

Definition at line 599 of file grid-map.cpp.

const int lookupMap8[][2] [static]
Initial value:
 {
        { -1, -1 },
        { 0, -1 },
        { 1, -1 },
        { -1, 0 },
        { 1, 0 },
        { -1, 1 },
        { 0, 1 },
        { 1, 1 },
}

Definition at line 588 of file grid-map.cpp.



ethzasl_gridmap_2d
Author(s): Stéphane Magnenat
autogenerated on Tue Mar 3 2015 15:28:35