00001 #ifndef ACTION_EXECUTOR_DETECT_DOOR_STATE_ANGLE_H 00002 #define ACTION_EXECUTOR_DETECT_DOOR_STATE_ANGLE_H 00003 00004 #include "continual_planning_executive/actionExecutorService.hpp" 00005 #include "continual_planning_executive/symbolicState.h" 00006 #include <door_perception_msgs/DoorStateSrv.h> 00007 00008 namespace tidyup_actions 00009 { 00010 00011 class ActionExecutorDetectDoorStateAngle : public ActionExecutorService<door_perception_msgs::DoorStateSrv> 00012 { 00013 public: 00014 virtual void initialize(const std::deque<std::string> & arguments); 00015 virtual bool fillGoal(door_perception_msgs::DoorStateSrv::Request & goal, 00016 const DurativeAction & a, const SymbolicState & current); 00017 00018 virtual void updateState(bool success, door_perception_msgs::DoorStateSrv::Response & response, 00019 const DurativeAction & a, SymbolicState & current); 00020 }; 00021 00022 }; 00023 00024 #endif 00025