Skip to content

Commit 694822f

Browse files
committed
update comments.
1 parent a4d8a3c commit 694822f

File tree

2 files changed

+28
-9
lines changed

2 files changed

+28
-9
lines changed

pymycobot/generate.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,13 @@ class MycobotCommandGenerater(DataProcessor):
1919
is_power_on()
2020
release_all_servos()
2121
is_controller_connected()
22-
set_free_mode()
2322
2423
# MDI mode and operation
2524
get_angles()
2625
send_angle()
2726
send_angles()
28-
sync_send_angles() *
29-
get_radians()
30-
send_radians()
3127
get_coords()
3228
send_coords()
33-
sync_send_coords() *
3429
pause()
3530
resume()
3631
stop()
@@ -77,9 +72,6 @@ class MycobotCommandGenerater(DataProcessor):
7772
7873
# Basic
7974
set_basic_output() *
80-
81-
# Other
82-
wait() *
8375
"""
8476

8577
def __init__(self, debug=False):

pymycobot/mycobot.py

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,34 @@ class MyCobot(MycobotCommandGenerater):
1313
"""MyCobot Python API Serial communication class.
1414
1515
Supported methods:
16-
Look at parent class: `MycobotCommandGenerater`.
16+
17+
# Overall status
18+
Look at parent class: `MycobotCommandGenerater`.
19+
20+
# MDI mode and operation
21+
get_radians()
22+
send_radians()
23+
sync_send_angles() *
24+
sync_send_coords() *
25+
Other look at parent class: `MycobotCommandGenerater`.
26+
27+
# JOG mode and operation
28+
Look at parent class: `MycobotCommandGenerater`.
29+
30+
# Running status and Settings
31+
Look at parent class: `MycobotCommandGenerater`.
32+
33+
# Servo control
34+
Look at parent class: `MycobotCommandGenerater`.
35+
36+
# Atom IO
37+
Look at parent class: `MycobotCommandGenerater`.
38+
39+
# Basic
40+
Look at parent class: `MycobotCommandGenerater`.
41+
42+
# Other
43+
wait() *
1744
"""
1845

1946
def __init__(self, port, baudrate="115200", timeout=0.1, debug=False):

0 commit comments

Comments
 (0)