#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 |
Definition at line 139 of file InterpolationDemo.hpp.
|
private |
Definition at line 146 of file InterpolationDemo.hpp.
|
private |
Definition at line 147 of file InterpolationDemo.hpp.
|
private |
Definition at line 154 of file InterpolationDemo.hpp.
grid_map_demos::InterpolationDemo::InterpolationDemo | ( | ros::NodeHandle * | nh | ) |
Definition at line 238 of file InterpolationDemo.cpp.
|
private |
Definition at line 276 of file InterpolationDemo.cpp.
|
private |
Definition at line 297 of file InterpolationDemo.cpp.
|
private |
Definition at line 317 of file InterpolationDemo.cpp.
|
private |
Definition at line 338 of file InterpolationDemo.cpp.
|
private |
Definition at line 256 of file InterpolationDemo.cpp.
|
private |
Definition at line 173 of file InterpolationDemo.hpp.
|
private |
Definition at line 166 of file InterpolationDemo.hpp.
|
private |
Definition at line 163 of file InterpolationDemo.hpp.
|
private |
Definition at line 175 of file InterpolationDemo.hpp.
|
private |
Definition at line 167 of file InterpolationDemo.hpp.
|
private |
Definition at line 162 of file InterpolationDemo.hpp.
|
private |
Definition at line 172 of file InterpolationDemo.hpp.
|
private |
Definition at line 168 of file InterpolationDemo.hpp.
|
private |
Definition at line 164 of file InterpolationDemo.hpp.
|
private |
Definition at line 174 of file InterpolationDemo.hpp.
|
private |
Definition at line 171 of file InterpolationDemo.hpp.
|
private |
Definition at line 170 of file InterpolationDemo.hpp.
|
private |
Definition at line 177 of file InterpolationDemo.hpp.
|
private |
Definition at line 176 of file InterpolationDemo.hpp.