Closed DarrenWong closed 1 year ago
It works at 100hz after revising some hard coding parameters in creating the custom lidar for hesai
https://github.com/PJLab-ADG/LiDARSimLib-and-Placement-Evaluation/blob/a2882419ff0891bac68cda8d0536305f13e91693/LiDARSimLib/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Surround.cpp#L78 for livox https://github.com/PJLab-ADG/LiDARSimLib-and-Placement-Evaluation/blob/a2882419ff0891bac68cda8d0536305f13e91693/LiDARSimLib/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/Risley_prism.cpp#L70
Hey I have a question about the lidar data generation. I am able to get the horizon and the pandar64 data. Anything is ok if I use 10hz with synchronous_mode=True, but if I use 100hz then only part of the custom lidar data is received, as attached. Did I miss any config for this custom lidar? It is fine if I use the default lidar in 10hz as well as in 100hz.
Tried to set "points_per_second" and "rotation_frequency" but no useful for the custom lidar.
The code is based on the synchronous_mode.py of the carla 0.9.14
10hz horizon ok,
10hz pandar ok,
100hz horizon only part
pandar