Class AsyncControllerThread

Class Documentation

class AsyncControllerThread

Public Functions

inline AsyncControllerThread(std::shared_ptr<controller_interface::ControllerInterfaceBase> &controller, int cm_update_rate)

Constructor for the AsyncControllerThread object.

Parameters:
  • controller[in] shared pointer to a controller.

  • cm_update_rate[in] the controller manager’s update rate.

AsyncControllerThread(const AsyncControllerThread &t) = delete
AsyncControllerThread(AsyncControllerThread &&t) = delete
inline ~AsyncControllerThread()
inline void activate()

Creates the controller’s thread.

Called when the controller is activated.

inline void controller_update_callback()

Periodically execute the controller’s update method.

Callback of the async controller’s thread. Not synchronized with the controller manager’s write and read currently