Skip to content

Commit dcc4595

Browse files
committed
docs(python-api): update API use
1 parent e1ff3da commit dcc4595

File tree

1 file changed

+4
-4
lines changed
  • 10-ApplicationBasePython/10.2_320_M5-ApplicationPython

1 file changed

+4
-4
lines changed

10-ApplicationBasePython/10.2_320_M5-ApplicationPython/2_API.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ from pymycobot import utils
935935
<td>Set clamping current</td>
936936
<td style="text-align: center;">14</td>
937937
<td style="text-align: center;">43</td>
938-
<td>1 ~ 254</td>
938+
<td>100 ~ 300</td>
939939
</tr>
940940
</table>
941941

@@ -1110,7 +1110,7 @@ from pymycobot import utils
11101110
</tr>
11111111
<tr>
11121112
<td>Read the clamping current</td>
1113-
<td>1 ~ 254</td>
1113+
<td>100 ~ 300</td>
11141114
</tr>
11151115
</table>
11161116

@@ -1173,8 +1173,8 @@ from pymycobot import utils
11731173

11741174
- **Function**: Set the torque of the force-controlled gripper.
11751175
- **Parameter**:
1176+
- `torque_value` (`int`): Torque value, value range 0 ~ 100.
11761177
- `gripper_id` (`int`): Gripper ID, default 14, value range 1 ~ 254.
1177-
- `torque_value` (`int`): Torque value, value range 100 ~ 300.
11781178
- **Return value**:
11791179
- 0 - Failed
11801180
- 1 - Success
@@ -1184,7 +1184,7 @@ from pymycobot import utils
11841184
- **Function**: Read the torque of the force-controlled gripper.
11851185
- **Parameter**:
11861186
- `gripper_id` (`int`): Gripper ID, default 14, value range 1 ~ 254.
1187-
- **Return value:** (`int`) 100 ~ 300
1187+
- **Return value:** (`int`) 0 ~ 100
11881188

11891189
#### 15.11 `set_pro_gripper_speed(speed,gripper_id=14)`
11901190

0 commit comments

Comments
 (0)