-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Generate velodyne like lidar data in lidar #7060
Comments
The points_per_second variable is split between all the pointcloud you get in the time frame of 1 second. rotation_frequency = 500 (default is 10) If you set fixed_delta_seconds in the carla setting, it would be calculated like this Example For one line, you have to split them between each channel To increase the density of the points, you have to increase the rotations_per_second Points per pointcloud = points_per_second * fixed_delta_seconds |
How to set the fixed_delta seconds and the problem i am getting is that i am only receiving 10% of the part of the lidar when frequency set to low. Is there any way to resolve that? |
This is the code to set the fixed_delta_seconds. fixed_delta_seconds = 0.1
client = carla.Client(server_address, server_port)
world = client.load_world(self.map_parameters.carla_map_path)
settings = world.get_settings()
settings.fixed_delta_seconds = fixed_delta_seconds # do not decrease below 0.1 !!
world.apply_settings(settings) With that, you always have 0.1 seconds (simulation seconds) between each time you get lidar (sensor) data from Carla. Edit: I forgot to remove one "self." |
Hello! Are you happy to close this issue? |
Not got satisfactory answer... |
Okay, we will look into this |
Thanks for contributing to CARLA!
If you are reporting an issue, please use the following outline:
CARLA version:
Platform/OS: Windows
Problem you have experienced: I want to generate velodyne like results
What you expected to happen:
i want result dense like below
but it is like this
Steps to reproduce:
Below settings i am using
what i want to do is use pretrained vehicle model on the velodyne data set in simulator or collect dataset for the annotation of the model.
The text was updated successfully, but these errors were encountered: