ScavTask.h
Go to the documentation of this file.
00001 #ifndef TASKRESULT_H
00002 #define TASKRESULT_H
00003 
00004 #include <ros/ros.h>
00005 #include <string>
00006 
00007 enum TaskResult{ TIMEOUT, SUCCEEDED, FAILED}; 
00008 
00009 class ScavTask {
00010 
00011 public:
00012 
00013     ros::NodeHandle *nh; 
00014 
00015     std::string task_description; 
00016     std::string task_name; 
00017     std::string certificate; 
00018 
00019     const static float tolerance = 0.5; 
00020     std::vector<std::string> task_parameters; 
00021 
00022     virtual void executeTask(int timeout, TaskResult &result, std::string &record) = 0;
00023 
00024     virtual void stopEarly() = 0 ;
00025 
00026 }; 
00027 
00028 #endif


bwi_scavenger
Author(s): Shiqi Zhang
autogenerated on Thu Jun 6 2019 17:57:53