-
-
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
lidar image acquisition faliure #8604
Comments
Hi, Here is a example for synchrounous_mode Make sure that the sensor_tick in the Lidar settings, and fixed_delta_seconds for the word settings, are the same value |
thank for your kindly reply, when i use the synchrounous_mode i found that the progress burn out for some times
.........
主循环
` |
For testing purpose you could remove the traffic_manager, spawn only one vehicle, and attach the sensor the the vehicle. The flashes and twitches should not happen. I don't know if the save_gps_data() function does update the vehicle data, but even than is sounds like a strange behavior. If it shut down your computer, it looks like you should test your hardware or check if your hardware is powerful enough for Carla. |
hello, when i use carla for simple simulation. i use the rgb and lidar dectors. but we i see the download lidar image. i notice that they are uncomplete. they are tooo small. and can anybody can help me? i want get some lidar which can be used.
lidar_bp = blueprint_library.find('sensor.lidar.ray_cast')
lidar_bp.set_attribute('range', '30') #
lidar_bp.set_attribute('channels', '32') #
lidar_bp.set_attribute('rotation_frequency', '10') #
lidar_bp.set_attribute('points_per_second', '1000000') #
lidar_bp.set_attribute('horizontal_fov', '90')
lidar_bp.set_attribute('upper_fov', '10')
lidar_bp.set_attribute('lower_fov', '-10')
lidar_transform = carla.Transform(carla.Location(x=0, z=2.5)) #
lidar_sensor = world.spawn_actor(lidar_bp, lidar_transform, attach_to=vehicles[0])
def save_lidar_image(data):
timestamp = data.timestamp
filename = os.path.join(lidar_dir, 'lidar_%06d.ply' % timestamp)
data.save_to_disk(filename)
The text was updated successfully, but these errors were encountered: