Fix timing issue

This commit is contained in:
Michel Breyer
2021-12-06 10:49:18 +01:00
parent 41f16ec27d
commit 6ea4ef4d34
4 changed files with 5 additions and 4 deletions

View File

@@ -107,6 +107,7 @@ class GraspController:
r.sleep()
rospy.sleep(0.1) # Wait for a zero command to be sent to the robot.
timer.shutdown()
self.policy.deactivate()
return self.policy.best_grasp
def get_state(self):