Skip to content

Commit

Permalink
400% speed up to move group interface (#1865) (#1867)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0642ef0)

Co-authored-by: azalutsky <[email protected]>
  • Loading branch information
mergify[bot] and azalutsky authored Jan 17, 2023
1 parent b882b0b commit a4f7af6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ class MoveGroupInterface::MoveGroupInterfaceImpl
// wait until send_goal_opts.result_callback is called
while (!done)
{
std::this_thread::sleep_for(std::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}

if (code != rclcpp_action::ResultCode::SUCCEEDED)
Expand Down Expand Up @@ -871,7 +871,7 @@ class MoveGroupInterface::MoveGroupInterfaceImpl
// wait until send_goal_opts.result_callback is called
while (!done)
{
std::this_thread::sleep_for(std::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}

if (code != rclcpp_action::ResultCode::SUCCEEDED)
Expand Down Expand Up @@ -937,7 +937,7 @@ class MoveGroupInterface::MoveGroupInterfaceImpl
// wait until send_goal_opts.result_callback is called
while (!done)
{
std::this_thread::sleep_for(std::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}

if (code != rclcpp_action::ResultCode::SUCCEEDED)
Expand Down

0 comments on commit a4f7af6

Please sign in to comment.