ros2_controllers icon indicating copy to clipboard operation
ros2_controllers copied to clipboard

Lock-free Write to Buffer

Open matthew-reynolds opened this issue 3 years ago • 0 comments

A long-standing shortcoming in the realtime_tools::RealtimeBuffer is an inability to provide lock-free writes from the RT context. (See https://github.com/ros-controls/realtime_tools/issues/14).

The joint_trajectory_controller in particular is currently using writeFromNonRT() within the RT loop due to this limitation. Either through an upstream change (maybe https://github.com/ros-controls/realtime_tools/pull/73? I haven't had a chance to look into it yet) or some restructuring of the JTC, we need a lock-free write.

matthew-reynolds avatar Apr 08 '21 13:04 matthew-reynolds