33 #ifndef RC_SILHOUETTEMATCH_CLIENT_H
34 #define RC_SILHOUETTEMATCH_CLIENT_H
38 #include <rc_silhouettematch_client/DetectObject.h>
39 #include <rc_silhouettematch_client/CalibrateBasePlane.h>
40 #include <rc_silhouettematch_client/DeleteBasePlaneCalibration.h>
41 #include <rc_silhouettematch_client/GetBasePlaneCalibration.h>
43 #include <dynamic_reconfigure/server.h>
44 #include <rc_silhouettematch_client/SilhouetteMatchConfig.h>
60 bool detectObject(DetectObject::Request& req, DetectObject::Response& res);
62 bool calibrateBasePlane(CalibrateBasePlane::Request& req, CalibrateBasePlane::Response& res);
64 bool getBasePlaneCalib(GetBasePlaneCalibration::Request& req, GetBasePlaneCalibration::Response& res);
66 bool deleteBasePlaneCalib(DeleteBasePlaneCalibration::Request& req, DeleteBasePlaneCalibration::Response& res);
72 template <
typename Request,
typename Response>
73 bool callService(
const std::string& name,
const Request& req, Response& res);
77 std::vector<ros::ServiceServer>
srvs_;
80 std::unique_ptr<dynamic_reconfigure::Server<SilhouetteMatchConfig>>
dyn_reconf_;
86 #endif // RC_SILHOUETTEMATCH_CLIENT_H