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

Revert "[doc][ros_bridge][py] Explain more about startImpedance." #501

Open
wants to merge 1 commit into
base: indigo-devel
Choose a base branch
from
Open
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
20 changes: 0 additions & 20 deletions hironx_ros_bridge/src/hironx_ros_bridge/hironx_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,26 +1037,6 @@ def startImpedance(self, arm, **kwargs):
(which you can find by "self.hrpsys_version" command).
For instance, if your hrpsys is 315.10.1, refer to
"startImpedance_315_4" method.
@change: (NOTE: This "change" block is a duplicate with the PR in the
upstream https://github.com/fkanehiro/hrpsys-base/pull/1120.
Once it gets merged this block should be removed to avoid
duplicate maintenance effort.)

From 315.2.0 onward, following arguments are dropped and can
be set by self.seq_svc.setWrenches instead of this method.
See an example at https://github.com/fkanehiro/hrpsys-base/pull/434/files#diff-6204f002204dd9ae80f203901f155fa9R44:
- ref_force[fx, fy, fz] (unit: N) and
ref_moment[tx, ty, tz] (unit: Nm) can be set via
self.seq_svc.setWrenches. For example:

self.seq_svc.setWrenches([0, 0, 0, 0, 0, 0,
fx, fy, fz, tx, ty, tz,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,])

setWrenches takes 6 values per sensor, so the robot in
the example above has 4 sensors where each line represents
a sensor. See this link (https://github.com/fkanehiro/hrpsys-base/pull/434/files) for a concrete example.
'''
if StrictVersion(self.hrpsys_version) < StrictVersion('315.2.0'):
self.startImpedance_315_1(arm, **kwargs)
Expand Down