23 #include "motion_thread.h" 24 #include "controller.h" 48 : Thread(thread_name, Thread::OPMODE_CONTINUOUS)
fawkes::RefPtr< fawkes::KatanaController > _katana
Katana object for interaction with the arm.
fawkes::Logger * _logger
Logger.
KatanaMotionThread(const char *thread_name, fawkes::RefPtr< fawkes::KatanaController > katana, fawkes::Logger *logger)
Constructor.
bool finished() const
Did the motion finish already?
virtual void reset()
Reset for next execution.
unsigned int error_code() const
Error code.
bool _finished
Set to true when motion is finished, to false on reset.
unsigned int _error_code
Set to the desired error code on error.