Skip to content
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

[doc] hrpsys_config.py comment update #1016

Merged
merged 2 commits into from
Jul 10, 2016
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
14 changes: 7 additions & 7 deletions python/hrpsys_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,15 +1061,15 @@ def setJointAnglesOfGroup(self, gname, pose, tm, wait=True):

def setJointAnglesSequence(self, angless, tms):
'''!@brief
Set all joint angles.
Set all joint angles. len(angless) should be equal to len(tms).
\verbatim
NOTE: While this method does not check angle value range,
any joints could emit position limit over error, which has not yet
been thrown by hrpsys so that there's no way to catch on this python client.
Worthwhile opening an enhancement ticket at designated issue tracker.
\endverbatim
@param sequence angles list of float: In degree.
@param tm sequence of float: Time to complete, In Second
@param sequential list of angles in float: In rad
@param tm sequential list of time in float: Time to complete, In Second
'''
for angles in angless:
for i in range(len(angles)):
Expand All @@ -1086,8 +1086,8 @@ def setJointAnglesSequenceOfGroup(self, gname, angless, tms):
Worthwhile opening an enhancement ticket at designated issue tracker.
\endverbatim
@param gname str: Name of the joint group.
@param sequence angles list of float: In degree.
@param tm sequence of float: Time to complete, In Second
@param sequential list of angles in float: In rad
@param tm sequential list of time in float: Time to complete, In Second
'''
for angles in angless:
for i in range(len(angles)):
Expand Down Expand Up @@ -1140,8 +1140,8 @@ def waitInterpolationOfGroup(self, gname):

def setInterpolationMode(self, mode):
'''!@brief
set interpolation mode.
@param i_mode_ new interpolation mode
Set interpolation mode. You may need to import OpenHRP in order to pass an argument. For more info See https://github.com/fkanehiro/hrpsys-base/pull/1012#issue-160802911.
@param mode new interpolation mode. Either { OpenHRP.SequencePlayerService.LINEAR, OpenHRP.SequencePlayerService.HOFFARBIB }.
@return true if set successfully, false otherwise
'''
return self.seq_svc.setInterpolationMode(mode)
Expand Down