23 #include "sensor_thread.h" 24 #include "thread_roomba_500.h" 39 :
Thread(
"RoombaSensorThread",
Thread::OPMODE_WAITFORWAKEUP),
42 __roomba500_thread = roomba500_thread;
54 __roomba500_thread->
name());
Fawkes library namespace.
Thread class encapsulation of pthreads.
Logger * logger
This is the Logger member used to access the logger.
void write_blackboard()
Write data to blackboard.
Thread aspect to use blocked timing.
Base class for exceptions in Fawkes.
Roomba 500 integration thread.
virtual void loop()
Code to execute in the thread.
const char * name() const
Get name of thread.
virtual void log_warn(const char *component, const char *format,...)=0
Log warning message.
RoombaSensorThread(Roomba500Thread *roomba500_thread)
Constructor.