Skip to content

Commit

Permalink
Create ros-humble-moveit-simple-controller-manager.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Jul 3, 2024
1 parent 2805a2a commit 08ba476
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patch/ros-humble-moveit-simple-controller-manager.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/moveit_plugins/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h b/moveit_plugins/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h
index 311d51f7a5..e6e21efe97 100644
--- a/moveit_plugins/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h
+++ b/moveit_plugins/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h
@@ -145,7 +145,7 @@ class ActionBasedControllerHandle : public ActionBasedControllerHandleBase
do
{
status = result_future.wait_for(50ms);
- if ((status == std::future_status::timeout) and ((node_->now() - start) > timeout))
+ if ((status == std::future_status::timeout) && ((node_->now() - start) > timeout))
{
RCLCPP_WARN(LOGGER, "waitForExecution timed out");
return false;

0 comments on commit 08ba476

Please sign in to comment.