Public Member Functions | Protected Attributes | List of all members
MapSaver Class Reference

Public Member Functions

boost::filesystem::path generatePath (const std::string &extension, const ros::Time &stamp) const
 
 MapSaver ()
 
void newDataCallback (const nav_core2::UIntBounds &bounds)
 
void spin ()
 
void writeData (const ros::Time &stamp, const cv::Mat &image, const nav_grid::NavGridInfo &info) const
 

Protected Attributes

nav_grid::VectorNavGrid< unsigned char > data_
 
std::string map_extension_
 
std::string map_prefix_
 
nav_grid_pub_sub::NavGridSubscriber map_sub_
 
bool once_
 
boost::filesystem::path output_directory_
 
std::vector< unsigned char > output_interpretation_
 
bool write_stamped_
 
bool write_unstamped_
 
bool written_once_
 

Detailed Description

Definition at line 46 of file saver.cpp.

Constructor & Destructor Documentation

MapSaver::MapSaver ( )
inline

Definition at line 49 of file saver.cpp.

Member Function Documentation

boost::filesystem::path MapSaver::generatePath ( const std::string &  extension,
const ros::Time stamp 
) const
inline

Definition at line 100 of file saver.cpp.

void MapSaver::newDataCallback ( const nav_core2::UIntBounds bounds)
inline

Definition at line 116 of file saver.cpp.

void MapSaver::spin ( )
inline

Definition at line 171 of file saver.cpp.

void MapSaver::writeData ( const ros::Time stamp,
const cv::Mat &  image,
const nav_grid::NavGridInfo info 
) const
inline

Definition at line 146 of file saver.cpp.

Member Data Documentation

nav_grid::VectorNavGrid<unsigned char> MapSaver::data_
protected

Definition at line 180 of file saver.cpp.

std::string MapSaver::map_extension_
protected

Definition at line 181 of file saver.cpp.

std::string MapSaver::map_prefix_
protected

Definition at line 181 of file saver.cpp.

nav_grid_pub_sub::NavGridSubscriber MapSaver::map_sub_
protected

Definition at line 179 of file saver.cpp.

bool MapSaver::once_
protected

Definition at line 183 of file saver.cpp.

boost::filesystem::path MapSaver::output_directory_
protected

Definition at line 182 of file saver.cpp.

std::vector<unsigned char> MapSaver::output_interpretation_
protected

Definition at line 184 of file saver.cpp.

bool MapSaver::write_stamped_
protected

Definition at line 183 of file saver.cpp.

bool MapSaver::write_unstamped_
protected

Definition at line 183 of file saver.cpp.

bool MapSaver::written_once_
protected

Definition at line 183 of file saver.cpp.


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


nav_grid_server
Author(s):
autogenerated on Sun Jan 10 2021 04:08:56