From 6b0796de02c0247122fb007e5b7afa99a582ddd6 Mon Sep 17 00:00:00 2001 From: command-z-z <272181284@qq.com> Date: Thu, 7 Dec 2023 21:34:54 +0800 Subject: [PATCH] fix serious mistake in coordinate system transformation --- PythonAPI/examples/open3d_lidar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PythonAPI/examples/open3d_lidar.py b/PythonAPI/examples/open3d_lidar.py index f3fbe4418..2c755e656 100644 --- a/PythonAPI/examples/open3d_lidar.py +++ b/PythonAPI/examples/open3d_lidar.py @@ -77,7 +77,7 @@ def lidar_callback(point_cloud, point_list): # We're negating the y to correclty visualize a world that matches # what we see in Unreal since Open3D uses a right-handed coordinate system - points[:, :1] = -points[:, :1] + points[:, 1] = -points[:, 1] # # An example of converting points from sensor to vehicle space if we had # # a carla.Transform variable named "tran":