ros2_controllers
ros2_controllers copied to clipboard
[JointTrajectoryController] Reconsider memory operation in the Starting, Update and Stoping methods
As @jordan-palacios wrote: current implementation of JTC is not real-time safe. The memory operations, i.e. vector manipulations and resizing has to be reconsidered. See below his comment:
I know this is not strictly related to this PR, but we can't be resizing vectors on every loop. This is not real-time safe.
@bmagyar Maybe we should open a follow up PR?
Originally posted by @jordan-palacios in https://github.com/ros-controls/ros2_controllers/pull/140#discussion_r627251793