Passing angles, size to scan_update()

This commit is contained in:
simondlevy
2018-07-04 15:40:59 -04:00
parent 6cda4901dd
commit 7298ad9b8a
2 changed files with 3 additions and 1 deletions

View File

@@ -353,7 +353,7 @@ Scan_update(Scan *self, PyObject *args, PyObject *kwds)
// Update the scan
scan_update(
&self->scan,
NULL,
(py_scan_angles_degrees != Py_None) ? self->lidar_angles_deg :NULL,
self->lidar_distances_mm,
PyList_Size(py_lidar),
hole_width_mm,