Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
AngleHistogram Class Reference

#include <angle_histogram.h>

Public Member Functions

double angle_step () const
 
 AngleHistogram (Storage::size_type resolution=20)
 
auto least_freq_angle () const
 
Storage::size_type max_i () const
 
Storage::size_type min_i () const
 
Storage::value_type operator[] (std::size_t i) const
 
auto reset (const LaserScan2D &scan)
 
Storage::value_type value (const LaserScan2D::Points &pts, LaserScan2D::Points::size_type pt_i) const
 

Static Public Member Functions

static double estimate_ox_based_angle (const LaserScan2D::Points::value_type &base, const LaserScan2D::Points::value_type &sp)
 

Protected Member Functions

std::size_t hist_index (double angle) const
 

Private Types

using Storage = std::vector< unsigned >
 

Private Attributes

std::vector< double > _ang_sum
 
std::vector< double > _drift_dirs
 
Storage _hist
 
Storage::size_type _n
 

Detailed Description

Definition at line 9 of file angle_histogram.h.

Member Typedef Documentation

using AngleHistogram::Storage = std::vector<unsigned>
private

Definition at line 11 of file angle_histogram.h.

Constructor & Destructor Documentation

AngleHistogram::AngleHistogram ( Storage::size_type  resolution = 20)
inline

Definition at line 13 of file angle_histogram.h.

Member Function Documentation

double AngleHistogram::angle_step ( ) const
inline

Definition at line 64 of file angle_histogram.h.

static double AngleHistogram::estimate_ox_based_angle ( const LaserScan2D::Points::value_type &  base,
const LaserScan2D::Points::value_type &  sp 
)
inlinestatic

Definition at line 69 of file angle_histogram.h.

std::size_t AngleHistogram::hist_index ( double  angle) const
inlineprotected

Definition at line 89 of file angle_histogram.h.

auto AngleHistogram::least_freq_angle ( ) const
inline

Definition at line 59 of file angle_histogram.h.

Storage::size_type AngleHistogram::max_i ( ) const
inline

Definition at line 45 of file angle_histogram.h.

Storage::size_type AngleHistogram::min_i ( ) const
inline

Definition at line 52 of file angle_histogram.h.

Storage::value_type AngleHistogram::operator[] ( std::size_t  i) const
inline

Definition at line 35 of file angle_histogram.h.

auto AngleHistogram::reset ( const LaserScan2D scan)
inline

Definition at line 17 of file angle_histogram.h.

Storage::value_type AngleHistogram::value ( const LaserScan2D::Points pts,
LaserScan2D::Points::size_type  pt_i 
) const
inline

Definition at line 37 of file angle_histogram.h.

Member Data Documentation

std::vector<double> AngleHistogram::_ang_sum
private

Definition at line 99 of file angle_histogram.h.

std::vector<double> AngleHistogram::_drift_dirs
private

Definition at line 99 of file angle_histogram.h.

Storage AngleHistogram::_hist
private

Definition at line 98 of file angle_histogram.h.

Storage::size_type AngleHistogram::_n
private

Definition at line 97 of file angle_histogram.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:25