Quad-SDK
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
mesh_to_grid_map::MeshToGridMapConverter Class Reference

Public Member Functions

 MeshToGridMapConverter (ros::NodeHandle nh, ros::NodeHandle nh_private)
 

Private Member Functions

void subscribeToTopics ()
 
void advertiseTopics ()
 
void advertiseServices ()
 
void getParametersFromRos ()
 
void meshCallback (const pcl_msgs::PolygonMesh &mesh)
 
bool saveGridMapService (grid_map_msgs::ProcessFile::Request &request, grid_map_msgs::ProcessFile::Response &response)
 
bool loadMeshService (grid_map_msgs::ProcessFile::Request &request, grid_map_msgs::ProcessFile::Response &response)
 
bool loadMeshFromFile (const std::string &path_to_mesh_to_load)
 
bool meshToGridMap (const pcl::PolygonMesh &polygon_mesh, const std::string &mesh_frame_id, const uint64_t &time_stamp_nano_seconds)
 
bool saveGridMap (const grid_map::GridMap &map, const std::string &path_to_file, const std::string &topic_name)
 

Private Attributes

ros::NodeHandle nh_
 
ros::NodeHandle nh_private_
 
ros::Subscriber mesh_sub_
 
ros::Publisher grid_map_pub_
 
ros::ServiceServer save_grid_map_srv_
 
std::unique_ptr< grid_map::GridMap > last_grid_map_ptr_
 
double grid_map_resolution_
 
std::string layer_name_
 
std::string world_name_
 
bool latch_grid_map_pub_
 
bool verbose_
 
ros::ServiceServer load_map_service_server_
 
std::string frame_id_mesh_loaded_
 

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