diff --git a/axi/device.py b/axi/device.py index 64a9f97..2b43cae 100644 --- a/axi/device.py +++ b/axi/device.py @@ -25,8 +25,8 @@ PEN_DOWN_SPEED = 150 PEN_DOWN_DELAY = 0 ACCELERATION = 8 -MAX_VELOCITY = 8 -CORNER_FACTOR = 0.0005 +MAX_VELOCITY = 2 +CORNER_FACTOR = 0.001 VID_PID = '04D8:FD92' diff --git a/axi/paths.py b/axi/paths.py index c90dc16..e601712 100644 --- a/axi/paths.py +++ b/axi/paths.py @@ -18,7 +18,7 @@ def simplify_path(points, tolerance): if len(points) < 2: return points line = LineString(points) - line = line.simplify(tolerance) + line = line.simplify(tolerance, preserve_topology=False) return list(line.coords) def simplify_paths(paths, tolerance):