00001 #ifndef STATE_CREATOR_ROBOT_LOCATION_IN_ROOM_H 00002 #define STATE_CREATOR_ROBOT_LOCATION_IN_ROOM_H 00003 00004 #include "continual_planning_executive/stateCreator.h" 00005 #include <tf/tf.h> 00006 #include <tf/transform_listener.h> 00007 #include <ros/ros.h> 00008 00009 namespace tidyup_actions 00010 { 00011 00013 00016 class StateCreatorRobotLocationInRoom : public continual_planning_executive::StateCreator 00017 { 00018 public: 00019 StateCreatorRobotLocationInRoom(); 00020 ~StateCreatorRobotLocationInRoom(); 00021 00023 00026 virtual void initialize(const std::deque<std::string> & arguments); 00027 00028 virtual bool fillState(SymbolicState & state); 00029 00030 protected: 00031 tf::TransformListener _tf; 00032 00033 std::string _robotPoseObject; 00034 std::string _locationType; 00035 }; 00036 00037 }; 00038 00039 #endif 00040