From 62cca3a697b6190649ca24789cea99b4a0bf9d62 Mon Sep 17 00:00:00 2001 From: nsubiron Date: Fri, 21 Dec 2018 21:21:43 +0100 Subject: [PATCH] Fix lidar range in manual control --- PythonAPI/manual_control.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PythonAPI/manual_control.py b/PythonAPI/manual_control.py index 3ab2ffac4..11b999e0c 100755 --- a/PythonAPI/manual_control.py +++ b/PythonAPI/manual_control.py @@ -563,6 +563,8 @@ class CameraManager(object): if item[0].startswith('sensor.camera'): bp.set_attribute('image_size_x', str(hud.dim[0])) bp.set_attribute('image_size_y', str(hud.dim[1])) + elif item[0].startswith('sensor.lidar'): + bp.set_attribute('range', '5000') item.append(bp) self._index = None