Skip to content

Commit 2c6af3b

Browse files
committed
Add 0.25 sleep to end of _move_to_pose
Address qcr/benchbot#66 Address qcr/benchbot#62
1 parent 37b65c4 commit 2c6af3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/robot_callbacks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import ros_numpy
44
import rospy
55
from geometry_msgs.msg import Twist
6-
from time import time
6+
from time import time, sleep
77

88
_DEFAULT_SPEED_FACTOR = 1
99

@@ -165,6 +165,7 @@ def _move_to_pose(goal, publisher, controller):
165165
if (time() - t < _MOVE_TIMEOUT):
166166
_move_to_angle(goal, publisher, controller)
167167
publisher.publish(Twist())
168+
sleep(0.25)
168169

169170

170171
def create_pose_list(data, controller):

0 commit comments

Comments
 (0)