PCSim icon indicating copy to clipboard operation
PCSim copied to clipboard

Risley_prism LiDARs not getting any data back, after CARLA recompilation

Open albertojl24 opened this issue 2 years ago • 3 comments

Hello there,

I have tried to implement your library within CARLA and ROS, but I see that after following all the steps mentioned in the repo, the LIVOX LiDARs seem to return empty data:

Output print: CARLA LIDAR: LidarMeasurement(frame=36016, timestamp=523.499065, number_of_points=0) Even though the creation of those LiDARs are correct from CARLA's side:

creating tele
Tele_csv file read successfully
create tele successfully
creating lasers of Risley_prism

albertojl24 avatar Nov 21 '23 13:11 albertojl24

hello,Have you successfully integrated the RainyPCSim library? Have you encountered any problem with ProxyParticleSpawn compilation errors?

CaoShuxing avatar Dec 22 '23 07:12 CaoShuxing

Hello there,

I have tried to implement your library within CARLA and ROS, but I see that after following all the steps mentioned in the repo, the LIVOX LiDARs seem to return empty data:

Output print: CARLA LIDAR: LidarMeasurement(frame=36016, timestamp=523.499065, number_of_points=0) Even though the creation of those LiDARs are correct from CARLA's side:

creating tele
Tele_csv file read successfully
create tele successfully
creating lasers of Risley_prism

Hi @albertojl24,

Same problem, have you solve it?

AitorIglesias avatar Feb 01 '24 07:02 AitorIglesias

Same problem.

But I found that there is another file in which the path should be changed: LiDARSimLib/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Risley_prism.cpp

After I changed the path in Risley_prism.cpp, the horizon lidar had "normal" output.

I implement the LiDARSimLib in the latest carla (0.9.15): carla with LiDARSimLib & Fisheye. Hope that will help.

GimpelZhang avatar Mar 20 '24 14:03 GimpelZhang