MRPT  2.0.4
List of all members | Public Member Functions | Public Attributes
mrpt::maps::COccupancyGridMap2D::TUpdateCellsInfoChangeOnly Struct Reference

Detailed Description

An internal structure for storing data related to counting the new information apported by some observation.

Definition at line 213 of file COccupancyGridMap2D.h.

#include <mrpt/maps/COccupancyGridMap2D.h>

Public Member Functions

 TUpdateCellsInfoChangeOnly ()=default
 

Public Attributes

bool enabled {false}
 If set to false (default), this struct is not used. More...
 
double I_change {0}
 The cummulative change in Information: This is updated only from the "updateCell" method. More...
 
int cellsUpdated {0}
 The cummulative updated cells count: This is updated only from the "updateCell" method. More...
 
int laserRaysSkip {1}
 In this mode, some laser rays can be skips to speep-up. More...
 

Constructor & Destructor Documentation

◆ TUpdateCellsInfoChangeOnly()

mrpt::maps::COccupancyGridMap2D::TUpdateCellsInfoChangeOnly::TUpdateCellsInfoChangeOnly ( )
default

Member Data Documentation

◆ cellsUpdated

int mrpt::maps::COccupancyGridMap2D::TUpdateCellsInfoChangeOnly::cellsUpdated {0}

The cummulative updated cells count: This is updated only from the "updateCell" method.

Definition at line 225 of file COccupancyGridMap2D.h.

Referenced by mrpt::maps::COccupancyGridMap2D::updateCell().

◆ enabled

bool mrpt::maps::COccupancyGridMap2D::TUpdateCellsInfoChangeOnly::enabled {false}

If set to false (default), this struct is not used.

Set to true only when measuring the info of an observation.

Definition at line 219 of file COccupancyGridMap2D.h.

Referenced by mrpt::maps::COccupancyGridMap2D::updateCell().

◆ I_change

double mrpt::maps::COccupancyGridMap2D::TUpdateCellsInfoChangeOnly::I_change {0}

The cummulative change in Information: This is updated only from the "updateCell" method.

Definition at line 222 of file COccupancyGridMap2D.h.

Referenced by mrpt::maps::COccupancyGridMap2D::updateCell().

◆ laserRaysSkip

int mrpt::maps::COccupancyGridMap2D::TUpdateCellsInfoChangeOnly::laserRaysSkip {1}

In this mode, some laser rays can be skips to speep-up.

Definition at line 227 of file COccupancyGridMap2D.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 44b1e7295 Fri Jun 5 12:35:25 2020 +0200 at vie jun 5 12:45:10 CEST 2020