23 #ifndef __PLUGINS_PANTILT_DIRPERC_DP_THREAD_H_ 24 #define __PLUGINS_PANTILT_DIRPERC_DP_THREAD_H_ 26 #include "../act_thread.h" 28 #include <blackboard/interface_listener.h> 30 #ifdef USE_TIMETRACKER 31 # include <utils/time/tracker.h> 37 class PanTiltInterface;
49 std::string &ptu_cfg_prefix,
50 std::string &ptu_name);
53 virtual void finalize();
60 void update_sensor_values();
72 std::string __pantilt_cfg_prefix;
73 std::string __ptu_cfg_prefix;
74 std::string __ptu_name;
75 std::string __cfg_device;
76 unsigned int __cfg_read_timeout_ms;
86 void goto_pantilt(
float pan,
float tilt);
87 void get_pantilt(
float &pan,
float &tilt);
90 bool has_fresh_data();
96 void exec_goto_pantilt(
float pan,
float tilt);
115 bool __reset_pending;
Base class for all messages passed through interfaces in Fawkes BlackBoard.
Fawkes library namespace.
virtual void run()
Code to execute in the thread.
Thread class encapsulation of pthreads.
DirectedPerception PTU implementation.
Base class for all Fawkes BlackBoard interfaces.
PanTilt act thread for PTUs from DirectedPerception employing the ASCII protocol. ...
PanTiltInterface Fawkes BlackBoard Interface.
virtual void run()
Stub to see name in backtrace for easier debugging.
JointInterface Fawkes BlackBoard Interface.
Mutex mutual exclusion lock.
BlackBoard interface listener.