Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
cost_map::SaveImageBundle Class Reference

Helper for saving an image bundle from a cost map topic. More...

#include <image_bundles.hpp>

Public Member Functions

 SaveImageBundle (const std::string &topic_name, const std::string &yaml_filename="foo.yaml")
 Load and publish from an image bundle. More...
 
virtual ~SaveImageBundle ()
 

Public Attributes

bool finished
 
std::string yaml_filename
 

Private Member Functions

void _costmapCallback (const cost_map_msgs::CostMap &msg)
 

Private Attributes

std::mutex mutex_
 
ros::Subscriber subscriber_
 

Detailed Description

Helper for saving an image bundle from a cost map topic.

Used by the save_image_bundle command line utility.

Definition at line 94 of file image_bundles.hpp.

Constructor & Destructor Documentation

cost_map::SaveImageBundle::SaveImageBundle ( const std::string &  topic_name,
const std::string &  yaml_filename = "foo.yaml" 
)

Load and publish from an image bundle.

Parameters
[in]topic_name: topic to listen to for incoming cost maps
[in]yaml_filename: name of the image bundle meta yaml file (abs or relative path).

Definition at line 216 of file image_bundles.cpp.

virtual cost_map::SaveImageBundle::~SaveImageBundle ( )
inlinevirtual

Definition at line 103 of file image_bundles.hpp.

Member Function Documentation

void cost_map::SaveImageBundle::_costmapCallback ( const cost_map_msgs::CostMap &  msg)
private

Definition at line 227 of file image_bundles.cpp.

Member Data Documentation

bool cost_map::SaveImageBundle::finished

Definition at line 107 of file image_bundles.hpp.

std::mutex cost_map::SaveImageBundle::mutex_
private

Definition at line 113 of file image_bundles.hpp.

ros::Subscriber cost_map::SaveImageBundle::subscriber_
private

Definition at line 112 of file image_bundles.hpp.

std::string cost_map::SaveImageBundle::yaml_filename

Definition at line 106 of file image_bundles.hpp.


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


cost_map_ros
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:03:48