Support variable-size input to scan_update()

This commit is contained in:
simondlevy
2018-07-04 15:26:45 -04:00
parent b4567062ad
commit 0fe7b2243d
6 changed files with 11 additions and 7 deletions

View File

@@ -349,6 +349,7 @@ Scan_update(Scan *self, PyObject *args, PyObject *kwds)
&self->scan,
NULL,
self->lidar_distances_mm,
PyList_Size(py_lidar),
hole_width_mm,
dxy_mm,
dtheta_degrees);