How to create a 3D occupancy map?

17 views (last 30 days)
I want to create a 3D occupancy map to model a region where I want to test some path planning algorithms for an UAV. The matlab function requires some points and sensor pose to create the map, The example is poorly written and I am not able to understand how can I control the height, width and breadth of the buildings. Can some please detail the process of map creation perhaps for the following figure from MATLAB example? It shows various building with varying dimensions, I want to know how can I create this data file.

Accepted Answer

KALYAN ACHARJYA on 21 Feb 2021
Edited: KALYAN ACHARJYA on 21 Feb 2021
This way, through surf plot?: I have shown with random test data. You may adjust the colors of the pattern/area
axis tight;
Note: Theare is a function in Matlab as occupancymap
Shubham Kalpande
Shubham Kalpande on 5 Mar 2021
Edited: Shubham Kalpande on 5 Mar 2021
Thank you, Vedant.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!