#include <interactive_markers/interactive_marker_server.h>
#include <jsk_recognition_msgs/Int32Stamped.h>
#include <jsk_interactive_marker/IndexRequest.h>
#include <jsk_recognition_msgs/PolygonArray.h>
#include <ros/ros.h>
#include <boost/algorithm/string.hpp>
#include <jsk_recognition_utils/geo/polygon.h>
#include <jsk_topic_tools/log_utils.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | polygonCallback (const jsk_recognition_msgs::PolygonArray::ConstPtr &msg) |
void | processFeedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback) |
void | publishClickedPolygon (jsk_recognition_msgs::Int32Stamped &msg) |
Variables | |
boost::mutex | mutex |
ros::Publisher | polygon_arr_pub |
jsk_recognition_msgs::PolygonArray::ConstPtr | polygon_msg |
ros::Publisher | polygon_pub |
ros::Publisher | pub |
std::shared_ptr < interactive_markers::InteractiveMarkerServer > | server |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 143 of file polygon_marker.cpp.
void polygonCallback | ( | const jsk_recognition_msgs::PolygonArray::ConstPtr & | msg | ) |
Definition at line 85 of file polygon_marker.cpp.
void processFeedback | ( | const visualization_msgs::InteractiveMarkerFeedbackConstPtr & | feedback | ) |
Definition at line 59 of file polygon_marker.cpp.
void publishClickedPolygon | ( | jsk_recognition_msgs::Int32Stamped & | msg | ) |
Definition at line 49 of file polygon_marker.cpp.
Definition at line 45 of file polygon_marker.cpp.
Definition at line 46 of file polygon_marker.cpp.
jsk_recognition_msgs::PolygonArray::ConstPtr polygon_msg |
Definition at line 47 of file polygon_marker.cpp.
Definition at line 46 of file polygon_marker.cpp.
Definition at line 46 of file polygon_marker.cpp.
std::shared_ptr<interactive_markers::InteractiveMarkerServer> server |
Definition at line 44 of file polygon_marker.cpp.