Increase wait time for velocity switching
This commit is contained in:
parent
a3e528a9d7
commit
484483aa4c
@ -105,9 +105,9 @@ class GraspController:
|
|||||||
img, pose, q = self.get_state()
|
img, pose, q = self.get_state()
|
||||||
self.policy.update(img, pose, q)
|
self.policy.update(img, pose, q)
|
||||||
r.sleep()
|
r.sleep()
|
||||||
rospy.sleep(0.1) # Wait for a zero command to be sent to the robot.
|
rospy.sleep(0.2) # Wait for a zero command to be sent to the robot.
|
||||||
timer.shutdown()
|
|
||||||
self.policy.deactivate()
|
self.policy.deactivate()
|
||||||
|
timer.shutdown()
|
||||||
return self.policy.best_grasp
|
return self.policy.best_grasp
|
||||||
|
|
||||||
def get_state(self):
|
def get_state(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user