Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
MapAccessibilityAnalysisServer Class Reference

#include <map_accessibility_analysis_server.h>

Inheritance diagram for MapAccessibilityAnalysisServer:
Inheritance graph
[legend]

Public Member Functions

 MapAccessibilityAnalysisServer (ros::NodeHandle nh)
 
 ~MapAccessibilityAnalysisServer ()
 
- Public Member Functions inherited from MapAccessibilityAnalysis
void checkPerimeter (std::vector< Pose > &accessible_poses_on_perimeter, const Pose &center, const double radius, const double rotational_sampling_step, const cv::Mat &inflated_map, const bool approach_path_accessibility_check, const cv::Point &robot_location)
 
void checkPoses (const std::vector< cv::Point > &points_to_check, std::vector< bool > &accessibility_flags, const cv::Mat &inflated_map, const bool approach_path_accessibility_check, const cv::Point &robot_location)
 
template<class T >
convertFromMeterToPixelCoordinates (const Pose &pose, const cv::Point2d &map_origin, const double inverse_map_resolution)
 
template<class T >
convertFromPixelCoordinatesToMeter (const Pose &pose, const cv::Point2d &map_origin, const double map_resolution)
 
void inflateMap (const cv::Mat &original_map, cv::Mat &inflated_map, const int robot_radius_pixel)
 
 MapAccessibilityAnalysis ()
 
 ~MapAccessibilityAnalysis ()
 

Protected Types

typedef message_filters::sync_policies::ApproximateTime< nav_msgs::GridCells, nav_msgs::GridCells > InflatedObstaclesSyncPolicy
 

Protected Member Functions

bool checkPerimeterCallback (cob_map_accessibility_analysis::CheckPerimeterAccessibility::Request &req, cob_map_accessibility_analysis::CheckPerimeterAccessibility::Response &res)
 
bool checkPolygonCallback (cob_3d_mapping_msgs::GetApproachPoseForPolygon::Request &req, cob_3d_mapping_msgs::GetApproachPoseForPolygon::Response &res)
 
bool checkPose2DArrayCallback (cob_map_accessibility_analysis::CheckPointAccessibility::Request &req, cob_map_accessibility_analysis::CheckPointAccessibility::Response &res)
 
void dynamicObstaclesInit (ros::NodeHandle &nh)
 
cv::Point getRobotLocationInPixelCoordinates ()
 
void inflatedObstacleDataCallback (const nav_msgs::GridCells::ConstPtr &obstacles_data, const nav_msgs::GridCells::ConstPtr &inflated_obstacles_data)
 
void inflationInit (ros::NodeHandle &nh)
 
std::vector< geometry_msgs::PointloadRobotFootprint (XmlRpc::XmlRpcValue &footprint_list)
 
void mapDataCallback (const nav_msgs::OccupancyGrid::ConstPtr &map_msg_data)
 
void mapInit (ros::NodeHandle &nh_map)
 
void obstacleDataCallback (const nav_msgs::GridCells::ConstPtr &obstacles_data)
 
- Protected Member Functions inherited from MapAccessibilityAnalysis
void computeClosestPointOnPolygon (const cv::Mat &map_with_polygon, const Pose &pose_p, Pose &closest_point_on_polygon)
 
bool isApproachPositionAccessible (const cv::Point &robotLocation, const cv::Point &potentialApproachPose, std::vector< std::vector< cv::Point > > contours)
 

Protected Attributes

bool approach_path_accessibility_check_
 
cv::Mat inflated_map_
 
image_transport::Publisher inflated_map_image_pub_
 
message_filters::Subscriber< nav_msgs::GridCells > inflated_obstacles_sub_
 
boost::shared_ptr< message_filters::Synchronizer< InflatedObstaclesSyncPolicy > > inflated_obstacles_sub_sync_
 
cv::Mat inflated_original_map_
 
double inverse_map_resolution_
 
image_transport::ImageTransportit_
 
ros::Time last_update_time_obstacles_
 
bool map_data_recieved_
 
std::string map_link_name_
 
ros::Subscriber map_msg_sub_
 
cv::Point2d map_origin_
 
ros::ServiceServer map_perimeter_accessibility_check_server_
 
ros::ServiceServer map_points_accessibility_check_server_
 
ros::ServiceServer map_polygon_accessibility_check_server_
 
double map_resolution_
 
boost::mutex mutex_inflated_map_
 
ros::NodeHandle node_handle_
 
ros::Duration obstacle_topic_update_delay_
 
double obstacle_topic_update_rate_
 
message_filters::Subscriber< nav_msgs::GridCells > obstacles_sub_
 
cv::Mat original_map_
 
bool publish_inflated_map_
 
std::string robot_base_link_name_
 
double robot_radius_
 
tf::TransformListener tf_listener_
 

Detailed Description

Definition at line 64 of file map_accessibility_analysis_server.h.

Member Typedef Documentation

Definition at line 121 of file map_accessibility_analysis_server.h.

Constructor & Destructor Documentation

MapAccessibilityAnalysisServer::MapAccessibilityAnalysisServer ( ros::NodeHandle  nh)

Definition at line 23 of file map_accessibility_analysis_server.cpp.

MapAccessibilityAnalysisServer::~MapAccessibilityAnalysisServer ( )

Definition at line 88 of file map_accessibility_analysis_server.cpp.

Member Function Documentation

bool MapAccessibilityAnalysisServer::checkPerimeterCallback ( cob_map_accessibility_analysis::CheckPerimeterAccessibility::Request &  req,
cob_map_accessibility_analysis::CheckPerimeterAccessibility::Response &  res 
)
protected

Definition at line 387 of file map_accessibility_analysis_server.cpp.

bool MapAccessibilityAnalysisServer::checkPolygonCallback ( cob_3d_mapping_msgs::GetApproachPoseForPolygon::Request &  req,
cob_3d_mapping_msgs::GetApproachPoseForPolygon::Response &  res 
)
protected

Definition at line 429 of file map_accessibility_analysis_server.cpp.

bool MapAccessibilityAnalysisServer::checkPose2DArrayCallback ( cob_map_accessibility_analysis::CheckPointAccessibility::Request &  req,
cob_map_accessibility_analysis::CheckPointAccessibility::Response &  res 
)
protected

Definition at line 355 of file map_accessibility_analysis_server.cpp.

void MapAccessibilityAnalysisServer::dynamicObstaclesInit ( ros::NodeHandle nh)
protected

Definition at line 269 of file map_accessibility_analysis_server.cpp.

cv::Point MapAccessibilityAnalysisServer::getRobotLocationInPixelCoordinates ( )
protected

Definition at line 544 of file map_accessibility_analysis_server.cpp.

void MapAccessibilityAnalysisServer::inflatedObstacleDataCallback ( const nav_msgs::GridCells::ConstPtr &  obstacles_data,
const nav_msgs::GridCells::ConstPtr &  inflated_obstacles_data 
)
protected

Definition at line 303 of file map_accessibility_analysis_server.cpp.

void MapAccessibilityAnalysisServer::inflationInit ( ros::NodeHandle nh)
protected

Definition at line 257 of file map_accessibility_analysis_server.cpp.

std::vector< geometry_msgs::Point > MapAccessibilityAnalysisServer::loadRobotFootprint ( XmlRpc::XmlRpcValue footprint_list)
protected

Definition at line 94 of file map_accessibility_analysis_server.cpp.

void MapAccessibilityAnalysisServer::mapDataCallback ( const nav_msgs::OccupancyGrid::ConstPtr &  map_msg_data)
protected

Definition at line 275 of file map_accessibility_analysis_server.cpp.

void MapAccessibilityAnalysisServer::mapInit ( ros::NodeHandle nh_map)
protected

Definition at line 247 of file map_accessibility_analysis_server.cpp.

void MapAccessibilityAnalysisServer::obstacleDataCallback ( const nav_msgs::GridCells::ConstPtr &  obstacles_data)
protected

Definition at line 324 of file map_accessibility_analysis_server.cpp.

Member Data Documentation

bool MapAccessibilityAnalysisServer::approach_path_accessibility_check_
protected

Definition at line 156 of file map_accessibility_analysis_server.h.

cv::Mat MapAccessibilityAnalysisServer::inflated_map_
protected

Definition at line 143 of file map_accessibility_analysis_server.h.

image_transport::Publisher MapAccessibilityAnalysisServer::inflated_map_image_pub_
protected

Definition at line 116 of file map_accessibility_analysis_server.h.

message_filters::Subscriber<nav_msgs::GridCells> MapAccessibilityAnalysisServer::inflated_obstacles_sub_
protected

Definition at line 119 of file map_accessibility_analysis_server.h.

boost::shared_ptr<message_filters::Synchronizer<InflatedObstaclesSyncPolicy> > MapAccessibilityAnalysisServer::inflated_obstacles_sub_sync_
protected

Definition at line 123 of file map_accessibility_analysis_server.h.

cv::Mat MapAccessibilityAnalysisServer::inflated_original_map_
protected

Definition at line 142 of file map_accessibility_analysis_server.h.

double MapAccessibilityAnalysisServer::inverse_map_resolution_
protected

Definition at line 149 of file map_accessibility_analysis_server.h.

image_transport::ImageTransport* MapAccessibilityAnalysisServer::it_
protected

Definition at line 115 of file map_accessibility_analysis_server.h.

ros::Time MapAccessibilityAnalysisServer::last_update_time_obstacles_
protected

Definition at line 127 of file map_accessibility_analysis_server.h.

bool MapAccessibilityAnalysisServer::map_data_recieved_
protected

Definition at line 113 of file map_accessibility_analysis_server.h.

std::string MapAccessibilityAnalysisServer::map_link_name_
protected

Definition at line 151 of file map_accessibility_analysis_server.h.

ros::Subscriber MapAccessibilityAnalysisServer::map_msg_sub_
protected

Definition at line 112 of file map_accessibility_analysis_server.h.

cv::Point2d MapAccessibilityAnalysisServer::map_origin_
protected

Definition at line 150 of file map_accessibility_analysis_server.h.

ros::ServiceServer MapAccessibilityAnalysisServer::map_perimeter_accessibility_check_server_
protected

Definition at line 133 of file map_accessibility_analysis_server.h.

ros::ServiceServer MapAccessibilityAnalysisServer::map_points_accessibility_check_server_
protected

Definition at line 131 of file map_accessibility_analysis_server.h.

ros::ServiceServer MapAccessibilityAnalysisServer::map_polygon_accessibility_check_server_
protected

Definition at line 136 of file map_accessibility_analysis_server.h.

double MapAccessibilityAnalysisServer::map_resolution_
protected

Definition at line 148 of file map_accessibility_analysis_server.h.

boost::mutex MapAccessibilityAnalysisServer::mutex_inflated_map_
protected

Definition at line 145 of file map_accessibility_analysis_server.h.

ros::NodeHandle MapAccessibilityAnalysisServer::node_handle_
protected

Definition at line 110 of file map_accessibility_analysis_server.h.

ros::Duration MapAccessibilityAnalysisServer::obstacle_topic_update_delay_
protected

Definition at line 126 of file map_accessibility_analysis_server.h.

double MapAccessibilityAnalysisServer::obstacle_topic_update_rate_
protected

Definition at line 124 of file map_accessibility_analysis_server.h.

message_filters::Subscriber<nav_msgs::GridCells> MapAccessibilityAnalysisServer::obstacles_sub_
protected

Definition at line 118 of file map_accessibility_analysis_server.h.

cv::Mat MapAccessibilityAnalysisServer::original_map_
protected

Definition at line 141 of file map_accessibility_analysis_server.h.

bool MapAccessibilityAnalysisServer::publish_inflated_map_
protected

Definition at line 117 of file map_accessibility_analysis_server.h.

std::string MapAccessibilityAnalysisServer::robot_base_link_name_
protected

Definition at line 155 of file map_accessibility_analysis_server.h.

double MapAccessibilityAnalysisServer::robot_radius_
protected

Definition at line 154 of file map_accessibility_analysis_server.h.

tf::TransformListener MapAccessibilityAnalysisServer::tf_listener_
protected

Definition at line 129 of file map_accessibility_analysis_server.h.


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


cob_map_accessibility_analysis
Author(s): Richard Bormann
autogenerated on Sat Oct 24 2020 03:50:48