24 #include "calib_thread.h" 25 #include "controller.h" 27 #include <interfaces/KatanaInterface.h> fawkes::RefPtr< fawkes::KatanaController > _katana
Katana object for interaction with the arm.
KatanaCalibrationThread(fawkes::RefPtr< fawkes::KatanaController > katana, fawkes::Logger *logger)
Constructor.
fawkes::Logger * _logger
Logger.
Katana motion thread base class.
virtual const char * what() const
Get primary string.
Base class for exceptions in Fawkes.
const char * name() const
Get name of thread.
virtual void log_warn(const char *component, const char *format,...)=0
Log warning message.
virtual void calibrate()=0
Calibrate the arm.
bool _finished
Set to true when motion is finished, to false on reset.
virtual void log_debug(const char *component, const char *format,...)=0
Log debug message.
unsigned int _error_code
Set to the desired error code on error.
virtual void once()
Execute an action exactly once.
static const uint32_t ERROR_CMD_START_FAILED
ERROR_CMD_START_FAILED constant.