21 #ifndef __PLUGINS_NAVGRAPH_NAVGRAPH_ROSPUB_THREAD_H_ 22 #define __PLUGINS_NAVGRAPH_NAVGRAPH_ROSPUB_THREAD_H_ 24 #include <core/threading/thread.h> 25 #include <aspect/clock.h> 26 #include <aspect/configurable.h> 27 #include <aspect/logging.h> 28 #include <aspect/aspect_provider.h> 29 #include <plugins/ros/aspect/ros.h> 30 #include <navgraph/aspect/navgraph.h> 32 #include <navgraph/navgraph.h> 34 #include <ros/publisher.h> 57 protected:
virtual void run() { Thread::run();}
Publish navgaraph to ROS.
NavGraphROSPubThread()
Constructor.
Thread aspect that allows to obtain the current time from the clock.
Thread aspect to get access to a ROS node handle.
virtual void init()
Initialize the thread.
Thread class encapsulation of pthreads.
virtual void finalize()
Finalize the thread.
Thread aspect to log output.
Thread aspect to access configuration data.
virtual void loop()
Code to execute in the thread.
virtual ~NavGraphROSPubThread()
Destructor.
Topological graph change listener.
virtual void graph_changed()
Function called if the graph has been changed.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to access NavGraph.