20 #ifndef GS_ACTION_HELPER_GS_ACTION_HELPER_H_
21 #define GS_ACTION_HELPER_GS_ACTION_HELPER_H_
27 #include <ff_util/ff_action.h>
28 #include <ff_util/ff_nodelet.h>
29 #include <isaac_util/isaac_names.h>
32 #include <isaac_msgs/ImageInspectionAction.h>
33 #include <isaac_msgs/InspectionAction.h>
38 namespace gs_action_helper {
45 void Initialize(ros::NodeHandle *nh);
48 void ImageInspectionResultCallback(isaac_msgs::ImageInspectionResultConstPtr
50 void InspectionGoalCallback(isaac_msgs::InspectionGoalConstPtr
const& goal);
53 void ImageInspectionGoalCallback(isaac_msgs::ImageInspectionGoalConstPtr
55 void ImageInspectionPreemptCallback();
56 void ImageInspectionCancelCallback();
58 void InspectionFeedbackCallback(isaac_msgs::InspectionFeedbackConstPtr
60 void InspectionResultCallback(
61 ff_util::FreeFlyerActionState::Enum
const& state,
62 isaac_msgs::InspectionResultConstPtr
const& result);
65 ff_util::FreeFlyerActionServer<isaac_msgs::ImageInspectionAction> img_as_;
66 ff_util::FreeFlyerActionClient<isaac_msgs::InspectionAction> inspection_ac_;
68 int pub_queue_size_, sub_queue_size_;
71 ros::Publisher pub_image_inspection_goal_, pub_inspection_feedback_;
72 ros::Publisher pub_inspection_result_;
73 ros::Subscriber sub_image_inspection_result_, sub_inspection_goal_;
78 #endif // GS_ACTION_HELPER_GS_ACTION_HELPER_H_