From 7cc89dba1ed2e43f3802737ea4b92e8544948be0 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 14 Apr 2026 03:38:32 +0000 Subject: automatic import of moveit-simple-controller-manager --- ...r-manager-remove-parallel-gripper-command.patch | 49 ---------------------- 1 file changed, 49 deletions(-) delete mode 100644 moveit-simple-controller-manager-remove-parallel-gripper-command.patch (limited to 'moveit-simple-controller-manager-remove-parallel-gripper-command.patch') diff --git a/moveit-simple-controller-manager-remove-parallel-gripper-command.patch b/moveit-simple-controller-manager-remove-parallel-gripper-command.patch deleted file mode 100644 index d875987..0000000 --- a/moveit-simple-controller-manager-remove-parallel-gripper-command.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff --git a/src/moveit_simple_controller_manager.cpp b/src/moveit_simple_controller_manager.cpp ---- a/src/moveit_simple_controller_manager.cpp -+++ b/src/moveit_simple_controller_manager.cpp -@@ -37,7 +37,6 @@ - - #include - #include --#include - #include - #include - #include -@@ -182,37 +181,6 @@ - RCLCPP_INFO_STREAM(getLogger(), "Added GripperCommand controller for " << controller_name); - controllers_[controller_name] = new_handle; - } -- else if (type == "ParallelGripperCommand") -- { -- double max_effort; -- node_->get_parameter_or(makeParameterName(PARAM_BASE_NAME, controller_name, "max_effort"), max_effort, 0.0); -- if (max_effort > 0.0) -- { -- RCLCPP_INFO_STREAM(getLogger(), controller_name << " will command a max effort of: " << max_effort); -- } -- -- double max_velocity; -- node_->get_parameter_or(makeParameterName(PARAM_BASE_NAME, controller_name, "max_velocity"), max_velocity, -- 0.0); -- if (max_effort > 0.0) -- { -- RCLCPP_INFO_STREAM(getLogger(), controller_name << " will command a max velocity of: " << max_velocity); -- } -- -- new_handle = std::make_shared(node_, controller_name, action_ns, -- max_effort, max_velocity); -- -- if (controller_joints.size() > 1) -- { -- RCLCPP_WARN_STREAM(getLogger(), "ParallelGripperCommand controller only supports commanding a single joint " -- "and multiple joint names were specified. Assuming control of joint: " -- << controller_joints[0]); -- } -- static_cast(new_handle.get())->setCommandJoint(controller_joints[0]); -- -- RCLCPP_INFO_STREAM(getLogger(), "Added ParallelGripperCommand controller for " << controller_name); -- controllers_[controller_name] = new_handle; -- } - else if (type == "FollowJointTrajectory") - { - new_handle = std::make_shared(node_, controller_name, action_ns); -- cgit v1.2.3