22 #include "sensor_thread.h" 23 #include "driver_thread.h" 36 :
Thread(
"DynamixelSensorThread",
Thread::OPMODE_WAITFORWAKEUP),
45 for (
auto &d : driver_threads_) {
56 driver_threads_.push_back(drv_thread);
Driver thread for Robotis dynamixel servos.
Fawkes library namespace.
void add_driver_thread(DynamixelDriverThread *drv_thread)
Add a driver thread to wake in SENSOR_ACQUIRE hook.
Thread class encapsulation of pthreads.
Thread aspect to use blocked timing.
DynamixelSensorThread()
Constructor.
virtual void loop()
Code to execute in the thread.