A plugin that simulates LiDAR sensor data built on top of Unreal Engine.
Linux
Currently, following sensor models are supported:
- Velodyne
- VLP-16
- PUCK-Lite
- PUCK-HiRes
- VLP-32C
- Limitations
- Position packet is not implemented yet.
- Laser return mode : only 'Strongest' is available
Element | Requirement |
---|---|
OS | Ubuntu 22.04 |
CPU | Intel Core i9-12900K |
RAM | 64GB |
GPU | RTX 3070Ti |
UE5 | v5.1.x, v5.2.0, v5.2.1 |
The MetaLidar plugin should be installed in the 'Plugins' folder inside your Unreal Engine 5 project. Also, you should install the UDP-Unreal plugin, which is a convenience ActorComponent UDP wrapper for Unreal Engine. After launching the Unreal Editor, make sure that both plugins are enabled.
An example project using this plugin can be found at MetaLidarSampleUE5.
Most LiDAR sensors output not only the distance to the object, but also intensity information, meaning the strength of the reflected signal. The intensity depends on a number of factors, including the material and color of the object's surface, but in general, darker colors tend to have smaller values and lighter colors tend to have larger values. To set an object's intensity property using a PhysicalMaterial, you can do the following steps:
- Create PhysicalMaterial named 'PM_Reflectivity_XXX'
- Here, XXX represents a value from 0 to 255, where lower numbers mean less reflectivity and higher numbers mean more reflectivity.
- Apply the created PhysicalMaterial to the static mesh's physical material property.
Since the laser output from LiDAR passes through transparent objects, it is crucial to be reflected this for an accurate simulation. To configure an object's transparency, you can do the following steps:
- Select the object you want to give the transparency to.
- Change collision preset(Physics > Collosion) to 'Custom'
- Change 'visibility' of Collision Responses to 'Overlap'