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