mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
Added sleep before reporting action goal is succesfull
This commit is contained in:
@@ -80,7 +80,7 @@ public:
|
|||||||
}
|
}
|
||||||
robot_->addTraj(timestamps, positions, velocities);
|
robot_->addTraj(timestamps, positions, velocities);
|
||||||
|
|
||||||
//sleep?
|
ros::Duration(timestamps.back()).sleep();
|
||||||
result_.error_code = result_.SUCCESSFUL;
|
result_.error_code = result_.SUCCESSFUL;
|
||||||
as_.setSucceeded(result_);
|
as_.setSucceeded(result_);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user