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. | |
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_ |
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.
cost_map::SaveImageBundle::SaveImageBundle | ( | const std::string & | topic_name, |
const std::string & | yaml_filename = "foo.yaml" |
||
) |
Load and publish from an image bundle.
[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.
void cost_map::SaveImageBundle::_costmapCallback | ( | const cost_map_msgs::CostMap & | msg | ) | [private] |
Definition at line 227 of file image_bundles.cpp.
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.
std::string cost_map::SaveImageBundle::yaml_filename |
Definition at line 106 of file image_bundles.hpp.