19 #ifndef INTERACTIVE_MARKER_TELEOP_H_
20 #define INTERACTIVE_MARKER_TELEOP_H_
22 #include <ff_msgs/CommandStamped.h>
23 #include <ff_msgs/CommandConstants.h>
27 #include <interactive_markers/interactive_marker_server.h>
28 #include <interactive_markers/menu_handler.h>
29 #include <tf2_ros/transform_listener.h>
30 #include <tf2_geometry_msgs/tf2_geometry_msgs.h>
38 visualization_msgs::Marker
makeMarker(
const std::string marker_type);
40 visualization_msgs::InteractiveMarkerControl&
makeBoxControl(visualization_msgs::InteractiveMarker& msg);
48 void processFeedback(
const visualization_msgs::InteractiveMarkerFeedbackConstPtr& feedback);
55 std::shared_ptr<interactive_markers::InteractiveMarkerServer> server_;
56 interactive_markers::MenuHandler menu_handler_;
58 ros::Publisher cmd_publisher_;
59 ros::Subscriber ack_subscriber_;
61 tf2_ros::Buffer tfBuffer_;
62 std::shared_ptr<tf2_ros::TransformListener> tfListener_;
65 #endif // INTERACTIVE_MARKER_TELEOP_H_