fix serious mistake in coordinate system transformation

This commit is contained in:
command-z-z 2023-12-07 21:34:54 +08:00
parent d7b45c1e15
commit 6b0796de02
1 changed files with 1 additions and 1 deletions

View File

@ -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":