Public Member Functions | Private Member Functions | Private Attributes
RemoteMonitorServer Class Reference

List of all members.

Public Member Functions

void drawArrow (cv::Mat &img, cirkit_waypoint_navigator::TeleportAbsolute::Request &req)
void drawHuman (cv::Mat &img, const cv::Point2f pos)
void drawHumanPoseOnMap (cirkit_waypoint_navigator::TeleportAbsolute::Request &req)
void drawRobotPoseOnMap (cirkit_waypoint_navigator::TeleportAbsolute::Request &req)
bool getHumanPose (cirkit_waypoint_navigator::TeleportAbsolute::Request &req, cirkit_waypoint_navigator::TeleportAbsolute::Response &res)
bool getRobotPose (cirkit_waypoint_navigator::TeleportAbsolute::Request &req, cirkit_waypoint_navigator::TeleportAbsolute::Response &res)
int loadMapImage ()
 RemoteMonitorServer (const std::string i_image_path, const std::string i_name_space)
void runMainLoop ()
void showMap ()
int waitKeyJudge (const int i_key)

Private Member Functions

void loadRosParam (const std::string i_image_path, const std::string i_name_space)

Private Attributes

std::string image_name_
std::string image_path_
cv::Mat map_img_ori_
cv::Mat map_img_ori_small_
cv::Mat map_img_pos_curr_
cv::Mat map_img_pos_hist_
std::vector< double > map_origin_
double map_resolution_
ros::NodeHandle nh_
cv::Point point_curr_
cv::Point point_tip_
ros::Rate rate_
cirkit_waypoint_navigator::TeleportAbsolute::Request req_
double resize_ratio_curr_
double resize_ratio_prev_
ros::ServiceServer server_human_pose_
ros::ServiceServer server_robot_pose_
int state_

Detailed Description

Definition at line 50 of file monitor_server.cpp.


Constructor & Destructor Documentation

RemoteMonitorServer::RemoteMonitorServer ( const std::string  i_image_path,
const std::string  i_name_space 
) [inline]

Definition at line 58 of file monitor_server.cpp.


Member Function Documentation

void RemoteMonitorServer::drawArrow ( cv::Mat &  img,
cirkit_waypoint_navigator::TeleportAbsolute::Request &  req 
) [inline]

Create some points

Definition at line 82 of file monitor_server.cpp.

void RemoteMonitorServer::drawHuman ( cv::Mat &  img,
const cv::Point2f  pos 
) [inline]

Definition at line 152 of file monitor_server.cpp.

void RemoteMonitorServer::drawHumanPoseOnMap ( cirkit_waypoint_navigator::TeleportAbsolute::Request &  req) [inline]

Definition at line 137 of file monitor_server.cpp.

void RemoteMonitorServer::drawRobotPoseOnMap ( cirkit_waypoint_navigator::TeleportAbsolute::Request &  req) [inline]

Definition at line 74 of file monitor_server.cpp.

bool RemoteMonitorServer::getHumanPose ( cirkit_waypoint_navigator::TeleportAbsolute::Request &  req,
cirkit_waypoint_navigator::TeleportAbsolute::Response &  res 
)

Definition at line 355 of file monitor_server.cpp.

bool RemoteMonitorServer::getRobotPose ( cirkit_waypoint_navigator::TeleportAbsolute::Request &  req,
cirkit_waypoint_navigator::TeleportAbsolute::Response &  res 
)

Definition at line 344 of file monitor_server.cpp.

Definition at line 278 of file monitor_server.cpp.

void RemoteMonitorServer::loadRosParam ( const std::string  i_image_path,
const std::string  i_name_space 
) [inline, private]

Definition at line 296 of file monitor_server.cpp.

Definition at line 259 of file monitor_server.cpp.

void RemoteMonitorServer::showMap ( ) [inline]

Definition at line 241 of file monitor_server.cpp.

int RemoteMonitorServer::waitKeyJudge ( const int  i_key) [inline]

Definition at line 173 of file monitor_server.cpp.


Member Data Documentation

std::string RemoteMonitorServer::image_name_ [private]

Definition at line 326 of file monitor_server.cpp.

std::string RemoteMonitorServer::image_path_ [private]

Definition at line 325 of file monitor_server.cpp.

Definition at line 334 of file monitor_server.cpp.

Definition at line 335 of file monitor_server.cpp.

Definition at line 336 of file monitor_server.cpp.

Definition at line 337 of file monitor_server.cpp.

std::vector<double> RemoteMonitorServer::map_origin_ [private]

Definition at line 330 of file monitor_server.cpp.

Definition at line 329 of file monitor_server.cpp.

Definition at line 321 of file monitor_server.cpp.

Definition at line 331 of file monitor_server.cpp.

Definition at line 332 of file monitor_server.cpp.

Definition at line 322 of file monitor_server.cpp.

cirkit_waypoint_navigator::TeleportAbsolute::Request RemoteMonitorServer::req_ [private]

Definition at line 339 of file monitor_server.cpp.

Definition at line 327 of file monitor_server.cpp.

Definition at line 328 of file monitor_server.cpp.

Definition at line 324 of file monitor_server.cpp.

Definition at line 323 of file monitor_server.cpp.

Definition at line 340 of file monitor_server.cpp.


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


remote_monitor
Author(s): CIR-KIT
autogenerated on Thu Jun 6 2019 20:33:41