Skip to content

Commit 18272ac

Browse files
committed
push code
1 parent d689d8b commit 18272ac

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

pymycobot/robot_limit.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,28 @@
1414
"coords_max":[466, 466, 641, 180, 180, 180]
1515
},
1616
"MyCobot":{
17-
"id":[1,2,3,4,5,6],
17+
"id":[1,2,3,4,5,6, 7],
1818
"angles_min":[-170, -135, -150, -145, -170, -180],
1919
"angles_max":[170, 140, 150, 135, 170, 180],
2020
"coords_min":[-350, -350, -70, -180, -180, -180],
2121
"coords_max":[350, 350, 523.9, 180, 180, 180]
2222
},
2323
"MyCobotSocket":{
24-
"id":[1,2,3,4,5,6],
24+
"id":[1,2,3,4,5,6, 7],
2525
"angles_min":[-170, -135, -150, -145, -170, -180],
2626
"angles_max":[170, 140, 150, 135, 170, 180],
2727
"coords_min":[-350, -350, -70, -180, -180, -180],
2828
"coords_max":[350, 350, 523.9, 180, 180, 180]
2929
},
3030
"MechArm":{
31-
"id":[1,2,3,4,5,6],
31+
"id":[1,2,3,4,5,6, 7],
3232
"angles_min":[-165, -90, -180, -165, -115, -175],
3333
"angles_max":[165, 90, 70, 165, 115, 175],
3434
"coords_min":[-272, -272, -36, -180, -180, -180],
3535
"coords_max":[272, 272, 408.9, 180, 180, 180]
3636
},
3737
"MechArmSocket":{
38-
"id":[1,2,3,4,5,6],
38+
"id":[1,2,3,4,5,6, 7],
3939
"angles_min":[-165, -90, -180, -165, -115, -175],
4040
"angles_max":[165, 90, 70, 165, 115, 175],
4141
"coords_min":[-272, -272, -36, -180, -180, -180],
@@ -56,28 +56,28 @@
5656
"coords_max":[310, 310, 480, 180, 180, 180]
5757
},
5858
"MyPalletizer":{
59-
"id":[1,2,3,4],
59+
"id":[1,2,3,4, 7],
6060
"angles_min":[-162, -2, -92, -180],
6161
"angles_max":[162, 90, 60, 180],
6262
"coords_min":[-260, -260, -15, -180],
6363
"coords_max":[260, 260, 357.58, 180]
6464
},
6565
"MyPalletizerSocket":{
66-
"id":[1,2,3,4],
66+
"id":[1,2,3,4, 7],
6767
"angles_min":[-162, -2, -92, -180],
6868
"angles_max":[162, 90, 60, 180],
6969
"coords_min":[-260, -260, -15, -180],
7070
"coords_max":[260, 260, 357.58, 180]
7171
},
7272
"UltraArm":{
73-
"id":[1,2,3,4],
73+
"id":[1,2,3,4, 7],
7474
"angles_min":[-150, -20, -5, -180],
7575
"angles_max":[170, 90, 110, 180],
7676
"coords_min":[-340, -340, 0, -180],
7777
"coords_max":[340, 340, 270.58, 180]
7878
},
7979
"MyBuddy":{
80-
"id":[1,2,3,4,5,6],
80+
"id":[1,2,3,4,5,6, 7],
8181
"angles_min":[-165, -165, -165, -165, -165, -175],
8282
"angles_max":[165, 165, 165, 165, 165, 175],
8383
"waist_angle_min":-120,
@@ -88,7 +88,7 @@
8888
"right_coords_max":[250, 40, 480, 180,180,180]
8989
},
9090
"MyBuddySocket":{
91-
"id":[1,2,3,4,5,6],
91+
"id":[1,2,3,4,5,6, 7],
9292
"angles_min":[-165, -165, -165, -165, -165, -175],
9393
"angles_max":[165, 165, 165, 165, 165, 175],
9494
"waist_angle_min":-120,

tests/rasp_myArm_test_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def disconnect_mycobot(self):
160160
self.mycobot = None
161161
self.write_log_to_Text("断开连接成功 !")
162162
except AttributeError:
163-
self.write_log_to_Text("还没有连接mycobot!!!")
163+
self.write_log_to_Text("还没有连接机器!!!")
164164

165165
# ============================================================
166166
# Function method

tests/rasp_mypall_test_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def connect_mycobot(self):
138138
# if not baud:
139139
# self.write_log_to_Text("请选择波特率")
140140
# return
141-
baud = 115200
141+
baud = 1000000
142142

143143
try:
144144
# self.mycobot = MyCobot(PI_PORT, PI_BAUD)

0 commit comments

Comments
 (0)