23 #ifndef __PLUGINS_JACO_INFO_THREAD_H_ 24 #define __PLUGINS_JACO_INFO_THREAD_H_ 26 #include <core/threading/thread.h> 27 #include <aspect/blocked_timing.h> 28 #include <aspect/logging.h> 29 #include <aspect/configurable.h> 30 #include <aspect/blackboard.h> 54 protected:
virtual void run() { Thread::run(); }
59 std::vector<float> __cpos;
60 std::vector<float> __apos;
Jaco struct containing all components required for one arm.
virtual ~JacoInfoThread()
Destructor.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Thread class encapsulation of pthreads.
Thread aspect to use blocked timing.
JacoInfoThread(const char *name, fawkes::jaco_arm_t *arm)
Constructor.
const char * name() const
Get name of thread.
Thread aspect to log output.
Jaco Arm information thread.
virtual void finalize()
Finalize the thread.
Thread aspect to access configuration data.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void init()
Initialize the thread.
struct jaco_arm_struct jaco_arm_t
Jaco struct containing all components required for one arm.
virtual void loop()
Code to execute in the thread.