How to create virtual LiDAR scanner in UE5?

I plan to develop a virtual simulation platform system for verifying the algorithms of automated operation of mining machinery using UE5. In this system, a virtual LiDAR needs to be created with the following parameters: 128 lines, 10 frames, a vertical field of view of 120 degrees, and a horizontal field of view of 360 degrees. The scanning lines it generates will be used to explore the surrounding environment. Additionally, a dual-camera system is required to capture 30 frames of RGB images (1024*768) and depth images. These data need to be sent to ROS in real time. I’m concerned that the real-time performance may not be guaranteed.

Therefore, I would like to ask my friends: Is using the LineTraceSingleByChannel method as the basis for implementing this virtual LiDAR the best choice? If so, how can it be parallelized or processed using GPU for parallel computing? If not, what other methods would be better? Or are there any third-party plugins that can be directly used? Both paid and free ones are acceptable.

使用英伟达的onmiverse