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

Leaderboard doesn't give Semantic Lidar data format properly as mention in Carla docs #190

Open
RohitPawar2406 opened this issue Jan 13, 2025 · 0 comments

Comments

@RohitPawar2406
Copy link

RohitPawar2406 commented Jan 13, 2025

{ "type": "sensor.lidar.ray_cast_semantic", "x": 1.3, "y": 0.0, "z": 2.5, "roll": 0.0, "pitch": 0.0, "yaw": -90.0, "horizontal_fov": 360.0, "id": "lidar_sem", },

Above is Semantic Lidar attributes mentioned. While collecting data through leaderboard script I found that semantic lidar data has shape (N, 6) . So technically frist three values are x,y,z (floats) next is cosine values (float) and object_indx and semantic_tag should be uint8 BUT I AM GETTING FLOAT32.
Below are images where I applied breakpoint() after entering in run_step function.
Screenshot from 2025-01-14 01-43-03
Screenshot from 2025-01-14 01-44-43

I will also add issues from Carla repo: https://github.com/carla-simulator/carla/issues/8419 , After going this issue you will understand there is no need to make semantic lidar data completely float, last two columns (object hit indx and semantic tag indx ) must be uint8.
I think this might be issue previous on Carla simulator mentioned in https://github.com/carla-simulator/carla/issues/8367
But now they have solved when we write script of Carla client side script from sctrach and mention semantic lidar. As I have tested that also.

But my issue is Semantic Lidar data is not properly in datatype manner while using Leaderboard script. Please see into this thing. And let me know if I am wrong somewhere....
@ICGog @felipecode @cmpute @joel-mb

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

1 participant