Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
grid_map_demos::InterpolationDemo Class Reference

#include <InterpolationDemo.hpp>

Classes

struct  Statistic
 

Public Member Functions

 InterpolationDemo (ros::NodeHandle *nh)
 

Private Types

using clk = std::chrono::steady_clock
 
using ErrorAndDuration = std::pair< Error, double >
 
using Statistics = std::map< std::string, std::map< std::string, Statistic > >
 

Private Member Functions

Statistics computeStatistics () const
 
ErrorAndDuration interpolateAndComputeError (const std::string world, const std::string &method) const
 
void printStatistics (const Statistics &stats) const
 
void publishGridMaps () const
 
void runDemo ()
 

Private Attributes

double dataResolution_ = 0.1
 
grid_map::GridMap dataSparseMap_
 
ros::Publisher dataSparseMapPub_
 
AnalyticalFunctions groundTruth_
 
grid_map::GridMap groundTruthMap_
 
ros::Publisher groundTruthMapPub_
 
double groundTruthResolution_ = 0.02
 
grid_map::GridMap interpolatedMap_
 
ros::Publisher interpolatedMapPub_
 
double interpolatedResolution_ = 0.02
 
std::string interpolationMethod_
 
std::string world_
 
double worldLength_ = 4.0
 
double worldWidth_ = 4.0
 

Detailed Description

Definition at line 139 of file InterpolationDemo.hpp.

Member Typedef Documentation

using grid_map_demos::InterpolationDemo::clk = std::chrono::steady_clock
private

Definition at line 146 of file InterpolationDemo.hpp.

using grid_map_demos::InterpolationDemo::ErrorAndDuration = std::pair<Error, double>
private

Definition at line 147 of file InterpolationDemo.hpp.

using grid_map_demos::InterpolationDemo::Statistics = std::map<std::string, std::map<std::string, Statistic> >
private

Definition at line 154 of file InterpolationDemo.hpp.

Constructor & Destructor Documentation

grid_map_demos::InterpolationDemo::InterpolationDemo ( ros::NodeHandle nh)

Definition at line 238 of file InterpolationDemo.cpp.

Member Function Documentation

InterpolationDemo::Statistics grid_map_demos::InterpolationDemo::computeStatistics ( ) const
private

Definition at line 276 of file InterpolationDemo.cpp.

InterpolationDemo::ErrorAndDuration grid_map_demos::InterpolationDemo::interpolateAndComputeError ( const std::string  world,
const std::string &  method 
) const
private

Definition at line 297 of file InterpolationDemo.cpp.

void grid_map_demos::InterpolationDemo::printStatistics ( const Statistics stats) const
private

Definition at line 317 of file InterpolationDemo.cpp.

void grid_map_demos::InterpolationDemo::publishGridMaps ( ) const
private

Definition at line 338 of file InterpolationDemo.cpp.

void grid_map_demos::InterpolationDemo::runDemo ( )
private

Definition at line 256 of file InterpolationDemo.cpp.

Member Data Documentation

double grid_map_demos::InterpolationDemo::dataResolution_ = 0.1
private

Definition at line 173 of file InterpolationDemo.hpp.

grid_map::GridMap grid_map_demos::InterpolationDemo::dataSparseMap_
private

Definition at line 166 of file InterpolationDemo.hpp.

ros::Publisher grid_map_demos::InterpolationDemo::dataSparseMapPub_
private

Definition at line 163 of file InterpolationDemo.hpp.

AnalyticalFunctions grid_map_demos::InterpolationDemo::groundTruth_
private

Definition at line 175 of file InterpolationDemo.hpp.

grid_map::GridMap grid_map_demos::InterpolationDemo::groundTruthMap_
private

Definition at line 167 of file InterpolationDemo.hpp.

ros::Publisher grid_map_demos::InterpolationDemo::groundTruthMapPub_
private

Definition at line 162 of file InterpolationDemo.hpp.

double grid_map_demos::InterpolationDemo::groundTruthResolution_ = 0.02
private

Definition at line 172 of file InterpolationDemo.hpp.

grid_map::GridMap grid_map_demos::InterpolationDemo::interpolatedMap_
private

Definition at line 168 of file InterpolationDemo.hpp.

ros::Publisher grid_map_demos::InterpolationDemo::interpolatedMapPub_
private

Definition at line 164 of file InterpolationDemo.hpp.

double grid_map_demos::InterpolationDemo::interpolatedResolution_ = 0.02
private

Definition at line 174 of file InterpolationDemo.hpp.

std::string grid_map_demos::InterpolationDemo::interpolationMethod_
private

Definition at line 171 of file InterpolationDemo.hpp.

std::string grid_map_demos::InterpolationDemo::world_
private

Definition at line 170 of file InterpolationDemo.hpp.

double grid_map_demos::InterpolationDemo::worldLength_ = 4.0
private

Definition at line 177 of file InterpolationDemo.hpp.

double grid_map_demos::InterpolationDemo::worldWidth_ = 4.0
private

Definition at line 176 of file InterpolationDemo.hpp.


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


grid_map_demos
Author(s): Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:55