Fawkes API
Fawkes Development Version
|
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 <plugins/robot-memory/aspect/robot_memory_aspect.h>
64 std::string cfg_plan_collection_;
65 bool cfg_publish_to_robot_memory_;
67 size_t num_published_actions_ = 0;
68 std::string cfg_output_collection_;
69 std::string cfg_pddl_problem_path_;
70 fawkes::PddlPlannerInterface *plan_if_;
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void loop()
Code to execute in the thread.
virtual void finalize()
Finalize the thread.
Generates an STN representation of a sequential task plan.
BlackBoard interface listener.
A Simple Temporal Network.
virtual void bb_interface_data_changed(fawkes::Interface *interface)
BlackBoard data changed notification.
StnGeneratorThread()
Constructor.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Thread aspect to log output.
Base class for all Fawkes BlackBoard interfaces.
Thread class encapsulation of pthreads.
Thread aspect to access configuration data.
Thread aspect to get access to a the RobotMemory.
virtual void init()
Initialize the thread.