How to convert VRML(.wrl-file) into MATLAB (.mat-file)?

3 vues (au cours des 30 derniers jours)
Sadi Nasib
Sadi Nasib le 12 Fév 2016
Commenté : Anish Mahajan le 10 Juil 2017
I have created a 3-D environment using VR-Builder in MATLAB with the help of webinar from Mathworks ("Mobile Robot Simulation for Collision Avoidance with Simulink")
Instructor created a .mat-file of his 3-D environment. And this .mat file used for 2D binary lookup for sensors.
As I created different 3-D world, I don't know how to convert it into .mat file son I can use it in 2-D lookup table in Simulink.
Here are the screenshots of the process. Left one is the 3-D world, right hand side is the 2-D representation of MAP. A .mat-file created for the image on the right, which is 2001x12001 matrix consisting of 1s and 0s. 1s represent objects and 0s represent free space.
Please help me on this issue. How can I convert my .wrl-file to .mat-file? Or if it is not about converting .wrl-file, what are ways to do it?
Thanks in advance for your time and kindness
  1 commentaire
Anish Mahajan
Anish Mahajan le 10 Juil 2017
Hello, Probably you may have got a solution by now but still... You can perform few commands to convert 3d image to a binary image or simply create your own binary image which resembles the 3d image. Can you please help me with the sensor data (position,range and values) using matlab function and look up table? Thanks in advance

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by