how create object for storing 3-D lidar scan

1 view (last 30 days)
This is example of 2-d lidar scan matlab code. It can represent angle and distance information of scan data.
I want a 3-d version of this. It is okay not only lidar but also other sensor. I want to know the point information of the obstacle by installing a lidar(or th sensor) on the uav. I add the obstacle with addMesh() code. Trying to grasp obstacle information not known in advance with sensor. Can you briefly tell me such an example or matlab code?
I want to sensing obstacles when uav is stationary.

Accepted Answer

Sakshay
Sakshay on 1 Dec 2022
Hello,
As per my understanding, you are trying to create infer obstacles in front of your UAV using a LiDAR sensor. But, currently you are not able to infer 3D information from the LiDAR to create a 3D obstacle.
MATLAB provides the "pointCloud" object to create a point cloud from 3D points. Then, this point cloud can be used to create a Collision Object using the "collisionMesh" function. MATLAB also provides the Velodyne Lidar Support Package. The package would enable you to connect to Velodyne Lidar Sensors and stream lidar point cloud data into MATLAB.
You can refer to the following documentation for more examples on the same:

More Answers (0)

Categories

Find more on Labeling, Segmentation, and Detection in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!