#include <add_objects_to_map.h>
Public Member Functions | |
void | addBox (geometry_msgs::Pose pose, std::vector< double > &dims, std::string id) |
void | addBoxes (std::vector< std::vector< double > > &objects, std::vector< std::string > &object_ids) |
void | addBoxes (std::vector< std::vector< double > > &objects) |
void | addObjectsFromFile (std::string filename) |
AddObjectsToMap () | |
bool | parseObjectsFile (FILE *fCfg, std::vector< std::vector< double > > &objects, std::vector< std::string > &object_ids) |
void | printObjects (FILE *fOut) |
~AddObjectsToMap () | |
Private Attributes | |
ros::NodeHandle | nh_ |
std::vector< std::string > | object_ids_ |
ros::Publisher | object_in_map_pub_ |
std::vector< std::vector < double > > | objects_ |
Definition at line 8 of file add_objects_to_map.h.
AddObjectsToMap::AddObjectsToMap | ( | ) |
Definition at line 4 of file add_objects_to_map.cpp.
AddObjectsToMap::~AddObjectsToMap | ( | ) | [inline] |
Definition at line 10 of file add_objects_to_map.h.
void AddObjectsToMap::addBox | ( | geometry_msgs::Pose | pose, | |
std::vector< double > & | dims, | |||
std::string | id | |||
) |
Definition at line 107 of file add_objects_to_map.cpp.
void AddObjectsToMap::addBoxes | ( | std::vector< std::vector< double > > & | objects, | |
std::vector< std::string > & | object_ids | |||
) |
Definition at line 79 of file add_objects_to_map.cpp.
void AddObjectsToMap::addBoxes | ( | std::vector< std::vector< double > > & | objects | ) |
Definition at line 69 of file add_objects_to_map.cpp.
void AddObjectsToMap::addObjectsFromFile | ( | std::string | filename | ) |
Definition at line 53 of file add_objects_to_map.cpp.
bool AddObjectsToMap::parseObjectsFile | ( | FILE * | fCfg, | |
std::vector< std::vector< double > > & | objects, | |||
std::vector< std::string > & | object_ids | |||
) |
Definition at line 9 of file add_objects_to_map.cpp.
void AddObjectsToMap::printObjects | ( | FILE * | fOut | ) |
Definition at line 130 of file add_objects_to_map.cpp.
ros::NodeHandle AddObjectsToMap::nh_ [private] |
Definition at line 26 of file add_objects_to_map.h.
std::vector<std::string> AddObjectsToMap::object_ids_ [private] |
Definition at line 30 of file add_objects_to_map.h.
ros::Publisher AddObjectsToMap::object_in_map_pub_ [private] |
Definition at line 27 of file add_objects_to_map.h.
std::vector<std::vector<double> > AddObjectsToMap::objects_ [private] |
Definition at line 29 of file add_objects_to_map.h.