task.h 333 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __TASK_H__
  2. #define __TASK_H__
  3. #include <ros/ros.h>
  4. #include <queue>
  5. #include <string>
  6. #include <std_lib/std_lib.h>
  7. #include "common/def.h"
  8. namespace task {
  9. bool SetTask(Json::Value task);
  10. TaskInfo GetTaskInfo();
  11. void BreakTask();
  12. void PauseTask();
  13. void ResumeTask();
  14. void init();
  15. }
  16. #endif