Fawkes API
Fawkes Development Version
|
23 #ifndef _PLUGINS_ROBOTINO_SENSOR_THREAD_H_
24 #define _PLUGINS_ROBOTINO_SENSOR_THREAD_H_
26 #include <aspect/blackboard.h>
27 #include <aspect/blocked_timing.h>
28 #include <aspect/clock.h>
29 #include <aspect/configurable.h>
30 #include <aspect/logging.h>
31 #include <core/threading/thread.h>
40 class BatteryInterface;
41 class RobotinoSensorInterface;
70 void process_sensor_msgs();
71 void update_distances(
float *voltages);
74 static const std::vector<std::pair<double, double>> voltage_to_dist_dps_;
79 bool cfg_enable_gyro_;
80 std::string cfg_imu_iface_id_;
virtual void finalize()
Finalize the thread.
IMUInterface Fawkes BlackBoard Interface.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to use blocked timing.
virtual void init()
Initialize the thread.
virtual void loop()
Code to execute in the thread.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Thread aspect to log output.
Robotino act hook integration thread.
RobotinoSensorInterface Fawkes BlackBoard Interface.
Virtual base class for thread that communicates with a Robotino.
BatteryInterface Fawkes BlackBoard Interface.
Robotino sensor hook integration thread.
Thread class encapsulation of pthreads.
Thread aspect to access configuration data.
Thread aspect that allows to obtain the current time from the clock.
RobotinoSensorThread(RobotinoComThread *com_thread)
Constructor.