Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
cost_map::SaveImageBundle Class Reference

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

#include <image_bundles.hpp>

List of all members.

Public Member Functions

 SaveImageBundle (const std::string &topic_name, const std::string &yaml_filename="foo.yaml")
 Load and publish from an image bundle.
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 ( ) [inline, virtual]

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

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.

Definition at line 112 of file image_bundles.hpp.

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 Thu Jun 6 2019 20:27:54