Skip to content

fixed max_speed description in control_go_to #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions evasdk/Eva.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ def control_go_to(self, joints, wait_for_ready=True, max_speed=None, time_sec=No
Args:
joints (list): list of angles in RADIANS
wait_for_ready (bool): boolean value to wait for the robot state to enter READY before proceeding
max_speed (int): maximum speed in mm/s when moving to the joint angles. Cannot be used with time_sec
max_speed (float): maximum speed in m/s when moving to the joint angles. Cannot be used with time_sec
time_sec (int): time in seconds of duration to travel to joint angles specified. Cannot be used with max_speed
mode (str): 'teach' by default, 'automatic' must be set for max_speed & time_sec to work

Expand All @@ -679,7 +679,7 @@ def control_go_to(self, joints, wait_for_ready=True, max_speed=None, time_sec=No

Example:
>>> with eva.lock():
>>> control_go_to([0, 0, 0, 0, 0, 0], wait_for_ready=False, max_speed=250, mode='automatic')
>>> control_go_to([0, 0, 0, 0, 0, 0], wait_for_ready=False, max_speed=0.25, mode='automatic')
"""
self.__logger.info('Eva.control_go_to called')
if mode == 'teach':
Expand Down