Defines | Typedefs | Functions | Variables
updatepointoccupancy.cpp File Reference
#include <vector>
#include <iostream>
#include <cmath>
#include <stdint.h>
#include <math.h>
Include dependency graph for updatepointoccupancy.cpp:

Go to the source code of this file.

Defines

#define MAX_OBSERVATION_COUNT   10

Typedefs

typedef std::pair< int, int > pt_t

Functions

vector< double > log_odds (1, 0)
int main (int argc, char **argv)
vector< int8_t > occupancy (1,-1)
int offsetFromRowCol (const int row, const int col, const int ncol)
pt_t pt (0, 0)
void updateOccupancyAndPrint (bool occupied)
void updatePointOccupancy (const bool occupied, const pt_t &pt, const int ncol, vector< int8_t > &occupancy, vector< double > &log_odds)

Variables

const double max_log_odds = 20
const int ncol = 1
const double p_occupied_when_laser = 0.95

Define Documentation

#define MAX_OBSERVATION_COUNT   10

Definition at line 7 of file updatepointoccupancy.cpp.


Typedef Documentation

typedef std::pair<int,int> pt_t

Definition at line 14 of file updatepointoccupancy.cpp.


Function Documentation

vector<double> log_odds ( ,
 
)
int main ( int  argc,
char **  argv 
)

Definition at line 109 of file updatepointoccupancy.cpp.

vector<int8_t> occupancy ( ,
1 
)
int offsetFromRowCol ( const int  row,
const int  col,
const int  ncol 
) [inline]

Definition at line 18 of file updatepointoccupancy.cpp.

pt_t pt ( ,
 
)
void updateOccupancyAndPrint ( bool  occupied)

Definition at line 101 of file updatepointoccupancy.cpp.

void updatePointOccupancy ( const bool  occupied,
const pt_t pt,
const int  ncol,
vector< int8_t > &  occupancy,
vector< double > &  log_odds 
)

Definition at line 25 of file updatepointoccupancy.cpp.


Variable Documentation

const double max_log_odds = 20

Definition at line 10 of file updatepointoccupancy.cpp.

const int ncol = 1

Definition at line 97 of file updatepointoccupancy.cpp.

const double p_occupied_when_laser = 0.95

Definition at line 9 of file updatepointoccupancy.cpp.



local_map
Author(s): Gaƫl Ecorchard
autogenerated on Thu Jun 6 2019 22:02:09