mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
update
This commit is contained in:
parent
da979bbe04
commit
ebe619ca14
1 changed files with 2 additions and 3 deletions
|
|
@ -276,7 +276,7 @@ class Window:
|
||||||
# c_value.append(self.model)
|
# c_value.append(self.model)
|
||||||
# print(c_value)
|
# print(c_value)
|
||||||
try:
|
try:
|
||||||
self.set_coords(c_value, self.speed)
|
self.set_coords(c_value[0],c_value[1],c_value[2], self.speed)
|
||||||
except ServiceException:
|
except ServiceException:
|
||||||
pass
|
pass
|
||||||
self.show_j_date(c_value[:-2], "coord")
|
self.show_j_date(c_value[:-2], "coord")
|
||||||
|
|
@ -292,9 +292,8 @@ class Window:
|
||||||
int(float(self.get_speed.get())) if self.get_speed.get() else self.speed
|
int(float(self.get_speed.get())) if self.get_speed.get() else self.speed
|
||||||
)
|
)
|
||||||
j_value.append(self.speed)
|
j_value.append(self.speed)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.set_angles(j_value, self.speed)
|
self.set_angles(j_value[0],j_value[1],j_value[2], self.speed)
|
||||||
except ServiceException:
|
except ServiceException:
|
||||||
pass
|
pass
|
||||||
self.show_j_date(j_value[:-1])
|
self.show_j_date(j_value[:-1])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue