Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False LiDAR Data #211

Open
CAS-LRJ opened this issue Mar 30, 2023 · 3 comments
Open

False LiDAR Data #211

CAS-LRJ opened this issue Mar 30, 2023 · 3 comments

Comments

@CAS-LRJ
Copy link

CAS-LRJ commented Mar 30, 2023

The LiDAR receives false data in front of a tunnel when the ego vehicle was driving in the Italy map.
Level: Italy
Position: (1535.8941650390625, 793.4702758789062, 149.81668090820312)

In-Game LiDAR Visualization
image

Recevied LiDAR Visualization (Blender)
image

@dstark481
Copy link
Contributor

What is plotted in the Blender plot? I am not sure what you are comparing here.

@CAS-LRJ
Copy link
Author

CAS-LRJ commented Mar 31, 2023

What is plotted in the Blender plot? I am not sure what you are comparing here.

I use a python script to export the readings to a .obj file

readings_data = lidar.poll()
data1 = readings_data['pointCloud'].reshape(-1, 3)
# Remove Null Data like (0,0,0)
data1_ind = np.linalg.norm(data1, axis=1) > 0.
data1 = data1[data1_ind]

# Move the coordinates
data2 = np.array(lidar.get_position())
pc_obj = data1 - data2

with open('example.obj', 'w') as f:
    for point in pc_obj:
        f.write('v '+str(point[0])+' '+str(point[1])+' '+str(point[2])+'\n')

Then I visualize the obj file in Blender, and I found that there exist some abnormal points (in white circle).
These floating points shoud not be here since there is no obstacles in front of the lidar.
image

@dstark481
Copy link
Contributor

Okay. We will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants