Skip to content

Commit 22c844f

Browse files
committed
Release 5.7.4
1 parent 7151cb3 commit 22c844f

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

Python/robodk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@
4242
#==================================
4343
# UNCOMMENT BELOW after the adoption period
4444
#__all__ = ['robolink', 'robomath', 'robodialogs', 'robofileio']
45-
#==================================
45+
#==================================

Python/robodk/robolink.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ def output_reader(proc):
14501450
if self.NODELAY:
14511451
self.COM.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
14521452

1453-
self.COM.settimeout(1) # Intentionally low timeout
1453+
self.COM.settimeout(1) # Intentionally low timeout
14541454
try:
14551455
self.COM.connect((self.IP, port))
14561456
connected = self._is_connected()
@@ -1920,7 +1920,7 @@ def AddFile(self, filename: str, parent: 'Item' = 0) -> 'Item':
19201920
self._send_line(command)
19211921
self._send_line(filename)
19221922
self._send_item(parent)
1923-
self.COM.settimeout(max(60,self.TIMEOUT)) # 60 seconds timeout to add a file
1923+
self.COM.settimeout(max(60, self.TIMEOUT)) # 60 seconds timeout to add a file
19241924
newitem = self._rec_item()
19251925
self.COM.settimeout(self.TIMEOUT)
19261926
self._check_status()
@@ -2172,7 +2172,7 @@ def ProjectPoints(self, points: Union[List[float], robomath.Mat], object_project
21722172
self._send_matrix(points)
21732173
self._send_item(object_project)
21742174
self._send_int(projection_type)
2175-
self.COM.settimeout(max(timeout, self.TIMEOUT))
2175+
self.COM.settimeout(max(timeout, self.TIMEOUT))
21762176
projected_points = self._rec_matrix() # will wait here
21772177
self.COM.settimeout(self.TIMEOUT)
21782178
self._check_status()
@@ -3017,7 +3017,7 @@ def Command(self, cmd: str, value: Union[str, Dict, robomath.Mat, 'Item'] = '',
30173017
self._send_line(command)
30183018
self._send_line(str(cmd))
30193019
self._send_line(value)
3020-
self.COM.settimeout(max(3600,self.TIMEOUT))
3020+
self.COM.settimeout(max(3600, self.TIMEOUT))
30213021
line = self._rec_line()
30223022
self.COM.settimeout(self.TIMEOUT)
30233023
self._check_status()
@@ -6464,7 +6464,7 @@ def WaitMove(self, timeout: float = 360000):
64646464
self.link._send_line(command)
64656465
self.link._send_item(self)
64666466
self.link._check_status()
6467-
self.link.COM.settimeout(max(timeout,self.TIMEOUT))
6467+
self.link.COM.settimeout(max(timeout, self.TIMEOUT))
64686468
self.link._check_status() #will wait here
64696469
self.link.COM.settimeout(self.link.TIMEOUT)
64706470
#busy = self.link.Is_Busy(self.item)

Python/robodk/robolinkutils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
# Python 3.5+ type hints. Type hints are stripped for <3.5
3030
from typing import List, Union, Any, Tuple
3131

32+
3233
def getLinks(item: robolink.Item, type_linked: int = robolink.ITEM_TYPE_ROBOT) -> List[robolink.Item]:
3334
"""
3435
Get all the items of a specific type for which getLink() returns the specified item.

Python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from setuptools import setup # Always prefer setuptools over distutils
99
from pathlib import Path
1010

11-
VERSION = '5.7.0'
11+
VERSION = '5.7.4'
1212

1313
this_directory = Path(__file__).parent
1414
LONG_DESCRIPTION = (this_directory / "README.md").read_text()

0 commit comments

Comments
 (0)