struct mrpt::maps::THeightGridmapCell

Overview

The contents of each cell in a CHeightGridMap2D map.

#include <mrpt/maps/CHeightGridMap2D.h>

struct THeightGridmapCell
{
    // fields

    float h {};
    float var {};
    float u {};
    float v {};
    uint32_t w {};

    // construction

    THeightGridmapCell();
};

Fields

float h {}

The current average height (in meters)

float var {}

The current standard deviation of the height (in meters)

float u {}

Auxiliary variable for storing the incremental mean value (in meters).

float v {}

Auxiliary (in meters)

uint32_t w {}

[For mrSimpleAverage model] The accumulated weight: initially zero if un-observed, increased by one for each observation