terrain_estimator
Public Member Functions | List of all members
terrain_estimator::HistogramTerrainClassification Class Reference

A list of the last N histograms of traction values are combined into a single histogram. More...

#include <ModelBaseAnalysis.hpp>

Public Member Functions

 HistogramTerrainClassification (uint number_histograms)
 
bool addHistogram (std::vector< double > histogram, std::vector< double > histogram_angular_velocity, std::vector< double > histogram_linear_velocity)
 
std::vector< double > getCombinedHistogram ()
 

Detailed Description

A list of the last N histograms of traction values are combined into a single histogram.

Author
Author
Patrick Merz Paranhos
Date
Date
26/10/2011

Contact: patri.nosp@m.ck.m.nosp@m.erz_p.nosp@m.aran.nosp@m.hos@d.nosp@m.fki..nosp@m.de

Constructor & Destructor Documentation

◆ HistogramTerrainClassification()

HistogramTerrainClassification::HistogramTerrainClassification ( uint  number_histograms)
Parameters
number_histograms- the number of histograms needed for a combined solution

********* HistogramTerrainClassification **************** ********* HistogramTerrainClassification **************** ********* HistogramTerrainClassification ****************

Member Function Documentation

◆ addHistogram()

bool HistogramTerrainClassification::addHistogram ( std::vector< double >  histogram,
std::vector< double >  histogram_angular_velocity,
std::vector< double >  histogram_linear_velocity 
)

adds a histogram to the list of histograms

Parameters
histogram_traction- a histogram of traction forces
histogram_angular_velocity- a histogram of angular velocities
histogram_linear_velocity- a histogram of linear velocities
Returns
if there are enougth histograms for calculating a terrain classification solution (at least N histograms)

◆ getCombinedHistogram()

std::vector< double > HistogramTerrainClassification::getCombinedHistogram ( )
Returns
the combined histogram

The documentation for this class was generated from the following files: