ros2_control - rolling
Public Member Functions | List of all members
hardware_interface::AsyncComponentThread Class Reference

Public Member Functions

 AsyncComponentThread (unsigned int update_rate, rclcpp::node_interfaces::NodeClockInterface::SharedPtr clock_interface)
 
template<typename T >
void register_component (T *component)
 
 AsyncComponentThread (const AsyncComponentThread &t)=delete
 
 AsyncComponentThread (AsyncComponentThread &&t)=delete
 
void activate ()
 Creates the component's thread. More...
 
void write_and_read ()
 Periodically execute the component's write and read methods. More...
 

Member Function Documentation

◆ activate()

void hardware_interface::AsyncComponentThread::activate ( )
inline

Creates the component's thread.

Called when the component is activated.

◆ write_and_read()

void hardware_interface::AsyncComponentThread::write_and_read ( )
inline

Periodically execute the component's write and read methods.

Callback of the async component's thread. Not synchronized with the controller manager's update currently


The documentation for this class was generated from the following file: