9 #include <choreo_msgs/OutputProcessing.h> 16 choreo_msgs::OutputProcessingResponse& res)
28 res.succeeded =
false;
33 int main(
int argc,
char** argv)
36 ros::init(argc, argv,
"choreo_output_processor");
40 nh.
advertiseService<choreo_msgs::OutputProcessingRequest, choreo_msgs::OutputProcessingResponse>(
43 ROS_INFO(
"%s server ready to service requests.", output_processing_server.
getService().c_str());
bool outputProcessingCallback(choreo_msgs::OutputProcessingRequest &req, choreo_msgs::OutputProcessingResponse &res)
static const std::string OUTPUT_PROCESSING_SERVICE
int main(int argc, char **argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
void setSaveFilePath(std::string &file_path)
ServiceServer advertiseService(const std::string &service, bool(T::*srv_func)(MReq &, MRes &), T *obj)
ROSCPP_DECL void spin(Spinner &spinner)
std::string getService() const
bool outputJson(std::vector< choreo_msgs::UnitProcessPlan > &plans)