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