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

조회 수: 3 (최근 30일)
Sadi Nasib
Sadi Nasib 2016년 2월 12일
댓글: Anish Mahajan 2017년 7월 10일
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
Anish Mahajan
Anish Mahajan 2017년 7월 10일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by