Skip to content

Commit

Permalink
400% speed up to move group interface (#1865)
Browse files Browse the repository at this point in the history
  • Loading branch information
azalutsky authored Jan 17, 2023
1 parent 6711436 commit 0642ef0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,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 @@ -895,7 +895,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 @@ -961,7 +961,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 0642ef0

Please sign in to comment.