Clear Filters
Clear Filters

How to add 3D model object in 3Doccupancy map?

4 views (last 30 days)
I have created a 3D occupancy map to model a region where I want to test some path planning algorithms for an autonomous robot. I have created a 3D map along with obstacles, but my requirement is to add 3D model (eg, human,car,tree etc anything) to my map.
The example is difficult to understand. Can somebody help me in adding some model.
Note: I have made these buildings but i want to add some sort of models (like humans, tree,car etc)
Also can we add png,or gif to our map?
  2 Comments
Muhammad Zeeshan Ahmed Khan
There is some sort of problem in occupancy map. Just try doing the stl way create a free model of car tree or any other in open stl and import it to the occupancy map.

Sign in to comment.

Answers (1)

Mann Baidi
Mann Baidi on 10 Sep 2023
Hi,
I understand that you would like to add a 3d model such a car, tree etc. in the 3d occupancy map. But currently there is no direct way of accomplishing this.
You can accomplish the same by importing “.stl” extensions file which has the model and pass it into “insertPointCloud” function. You can take the example from the following MATLAB Answer:
Hope this helps!

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!