From a1ef2241db8a388904a6ff058895da28baaa05fb Mon Sep 17 00:00:00 2001 From: Wolfgang Merkt Date: Fri, 4 Sep 2020 12:01:25 +0100 Subject: [PATCH] [effort_controllers] JointGroupPositionController: Change to initRT --- effort_controllers/src/joint_group_position_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effort_controllers/src/joint_group_position_controller.cpp b/effort_controllers/src/joint_group_position_controller.cpp index 21de964d0..49a3fc3dd 100644 --- a/effort_controllers/src/joint_group_position_controller.cpp +++ b/effort_controllers/src/joint_group_position_controller.cpp @@ -129,7 +129,7 @@ namespace effort_controllers enforceJointLimits(current_positions[i], i); pid_controllers_[i].reset(); } - commands_buffer_.writeFromNonRT(current_positions); + commands_buffer_.initRT(current_positions); } void JointGroupPositionController::update(const ros::Time& time, const ros::Duration& period)