22 #ifndef _PLUGINS_STN_GENERATOR_THREAD_H_ 23 #define _PLUGINS_STN_GENERATOR_THREAD_H_ 27 #include <aspect/blackboard.h> 28 #include <aspect/configurable.h> 29 #include <aspect/logging.h> 30 #include <blackboard/interface_listener.h> 31 #include <core/threading/thread.h> 32 #include <interfaces/PddlPlannerInterface.h> 33 #include <mongo/client/dbclient.h> 34 #include <plugins/robot-memory/aspect/robot_memory_aspect.h> 65 std::string cfg_plan_collection_;
66 bool cfg_publish_to_robot_memory_;
68 size_t num_published_actions_ = 0;
69 std::string cfg_output_collection_;
70 std::string cfg_pddl_problem_path_;
71 fawkes::PddlPlannerInterface *plan_if_;
Thread aspect to get access to a the RobotMemory.
A Simple Temporal Network.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Generates an STN representation of a sequential task plan.
StnGeneratorThread()
Constructor.
Thread class encapsulation of pthreads.
Base class for all Fawkes BlackBoard interfaces.
virtual void init()
Initialize the thread.
virtual void loop()
Code to execute in the thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void bb_interface_data_changed(fawkes::Interface *interface)
BlackBoard data changed notification.
Thread aspect to log output.
Thread aspect to access configuration data.
virtual void finalize()
Finalize the thread.
BlackBoard interface listener.