2D Occupancy Map to 3D STL Model for Environment
I had shown how to create a 3D environment from a 2D occupancy grid map for ROS/VREP/MATLAB for autonomous Robot Mapping.
Steps:
- Import your 2D occupancy grid map (png file) into MATLAB main.m script
- Run the script
- Save the output of the MATLAB program as a png file
- Convert the saved jpeg file to svg file (https://convertio.co/jpg-svg/)
- Convert the svg file to stl file (https://anyconv.com/svg-to-stl-converter/)
MATLAB Script and Files Used:
Now you have the 3D environment of the 2D occupancy grid map.
Step by Step Instruction https://www.youtube.com/watch?v=z7Jl-OgBbjw
For Further Queries : siddharth.some@gmail.com
#occupancygridmap #stlfile #ros #matlab #vrep #coppeliasim #robotics #autonomousnavigation #rosgazebo #gazebo #rossimulation #mapping #lidarscan #matlabfunction