From 378a5265241c5c7424bb413a36723b5b9f659bd4 Mon Sep 17 00:00:00 2001 From: Daniel Santos-Olivan Date: Wed, 29 Jul 2020 15:10:49 +0200 Subject: [PATCH] Minor modification in open3d script Be careful with the sleep time, its correct value may vary between machines --- PythonAPI/examples/opend3d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PythonAPI/examples/opend3d.py b/PythonAPI/examples/opend3d.py index fddefadfe..d48c6c298 100644 --- a/PythonAPI/examples/opend3d.py +++ b/PythonAPI/examples/opend3d.py @@ -116,7 +116,7 @@ def generate_lidar_bp(args, world, blueprint_library, delta): lidar_bp.set_attribute('dropoff_intensity_limit', '1.0') lidar_bp.set_attribute('dropoff_zero_intensity', '0.0') else: - lidar_bp.set_attribute('noise_stddev', '2.0') + lidar_bp.set_attribute('noise_stddev', '0.2') lidar_bp.set_attribute('upper_fov', str(args.upper_fov)) lidar_bp.set_attribute('lower_fov', str(args.lower_fov)) @@ -208,7 +208,7 @@ def main(args): vis.poll_events() vis.update_renderer() # # This can fix Open3D jittering issues: - # time.sleep(0.005) + time.sleep(0.005) world.tick() process_time = datetime.now() - dt0