Skip to content

Commit 87e194f

Browse files
authored
fixed max_speed description in control_go_to (#98)
1 parent 92ebb1c commit 87e194f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evasdk/Eva.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ def control_go_to(self, joints, wait_for_ready=True, max_speed=None, time_sec=No
666666
Args:
667667
joints (list): list of angles in RADIANS
668668
wait_for_ready (bool): boolean value to wait for the robot state to enter READY before proceeding
669-
max_speed (int): maximum speed in mm/s when moving to the joint angles. Cannot be used with time_sec
669+
max_speed (float): maximum speed in m/s when moving to the joint angles. Cannot be used with time_sec
670670
time_sec (int): time in seconds of duration to travel to joint angles specified. Cannot be used with max_speed
671671
mode (str): 'teach' by default, 'automatic' must be set for max_speed & time_sec to work
672672
@@ -679,7 +679,7 @@ def control_go_to(self, joints, wait_for_ready=True, max_speed=None, time_sec=No
679679
680680
Example:
681681
>>> with eva.lock():
682-
>>> control_go_to([0, 0, 0, 0, 0, 0], wait_for_ready=False, max_speed=250, mode='automatic')
682+
>>> control_go_to([0, 0, 0, 0, 0, 0], wait_for_ready=False, max_speed=0.25, mode='automatic')
683683
"""
684684
self.__logger.info('Eva.control_go_to called')
685685
if mode == 'teach':

0 commit comments

Comments
 (0)