5 #include <jsk_interactive_marker/SetPose.h> 6 #include <jsk_interactive_marker/MarkerSetPose.h> 8 #include <geometry_msgs/PoseStamped.h> 9 #include <std_msgs/Empty.h> 10 #include <std_msgs/Float32.h> 25 geometry_msgs::Vector3
size;
33 void moveBoxCb(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
35 visualization_msgs::Marker
makeMarkerMsg(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
37 void publishMarkerMsg(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
38 void cancelCb(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
39 void clearCb(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
40 void clearBoxCB(
const std_msgs::Empty::ConstPtr &msg);
43 void changeResolutionCb(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
45 void changeBoxSizeCb(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
50 void publishCurrentPose(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
53 void addBoxCB(
const std_msgs::Empty::ConstPtr &msg);
59 std::shared_ptr<interactive_markers::InteractiveMarkerServer>
server_;
ros::Subscriber pose_update_sub_
interactive_markers::MenuHandler::EntryHandle box_size_menu_
interactive_markers::MenuHandler::EntryHandle checked_box_size_menu_
visualization_msgs::Marker makeBoxMarker(geometry_msgs::Vector3 size)
MarkerControlConfig marker_control_config
ros::Publisher current_pose_pub_
void updatePoseCB(const geometry_msgs::PoseStamped::ConstPtr &pose)
interactive_markers::MenuHandler makeMenuHandler()
visualization_msgs::InteractiveMarker makeBoxInteractiveMarker(MarkerControlConfig mconfig, std::string name)
MarkerControlConfig(double s)
void clearCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void changeBoxSizeCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void changeBoxResolution(const std_msgs::Float32::ConstPtr &msg)
void moveBoxCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
ros::Subscriber change_box_resolution_sub_
visualization_msgs::Marker makeMarkerMsg(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
std::shared_ptr< interactive_markers::InteractiveMarkerServer > server_
visualization_msgs::InteractiveMarkerFeedbackConstPtr latest_feedback_
void publishMarkerMsg(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void addBoxCB(const std_msgs::Empty::ConstPtr &msg)
void updateBoxInteractiveMarker()
interactive_markers::MenuHandler::EntryHandle box_size_25_menu_
interactive_markers::MenuHandler::EntryHandle resolution_20cm_menu_
interactive_markers::MenuHandler::EntryHandle resolution_10cm_menu_
void publishCurrentPose(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
interactive_markers::MenuHandler::EntryHandle resolution_menu_
ros::Subscriber change_box_size_sub_
void clearBoxCB(const std_msgs::Empty::ConstPtr &msg)
interactive_markers::MenuHandler::EntryHandle resolution_5cm_menu_
interactive_markers::MenuHandler::EntryHandle box_size_50_menu_
ros::Subscriber add_box_sub_
geometry_msgs::Vector3 size
void cancelCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
visualization_msgs::Marker makeTextMarker(geometry_msgs::Vector3 size)
interactive_markers::MenuHandler::EntryHandle box_size_100_menu_
interactive_markers::MenuHandler::EntryHandle checked_resolution_menu_
ros::Subscriber clear_box_sub_
void changeBoxSize(geometry_msgs::Vector3 size)
interactive_markers::MenuHandler menu_handler
void changeResolutionCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)