Update
This commit is contained in:
parent
28f206a161
commit
86a25db048
@ -82,9 +82,8 @@ class PickAndPlace(object):
|
|||||||
|
|
||||||
def _guarded_move_to_joint_position(self, joint_angles):
|
def _guarded_move_to_joint_position(self, joint_angles):
|
||||||
if joint_angles:
|
if joint_angles:
|
||||||
self._limb.set_joint_position_speed(self._speed)
|
self._limb.set_joint_position_speed(0.2)
|
||||||
self._limb.move_to_joint_positions(joint_angles, timeout=20.0, threshold=self._accuracy)
|
self._limb.move_to_joint_positions(joint_angles, timeout=20.0, threshold=self._accuracy)
|
||||||
self._limb.set_joint_position_speed(0.3)
|
|
||||||
else:
|
else:
|
||||||
rospy.logerr("No Joint Angles provided for move_to_joint_positions. Staying put.")
|
rospy.logerr("No Joint Angles provided for move_to_joint_positions. Staying put.")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user