ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Create 3D map without sensor

asked 2021-11-14 01:55:44 -0600

kenny gravatar image

I'm not very good at English, so please bear with me.

I know the details of the enviromentm, like static obstacle position, coordinate range of my area . I want to create 3D map, like use GIMP create 2D map then use map_server load 2D map. How should I do it? Thank you so much.

edit retag flag offensive close merge delete

Comments

Please take a look at this prior answer: https://answers.ros.org/question/3896...

osilva gravatar image osilva  ( 2021-11-14 05:56:39 -0600 )edit

Also please take a look at this 2d map to 3d converter for Gazebo: https://discourse.ros.org/t/new-packa...

osilva gravatar image osilva  ( 2021-11-14 05:59:59 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-11-15 07:50:28 -0600

osilva gravatar image

updated 2021-11-15 07:50:45 -0600

There is a package that subscribes to Occupancy Map and generates 3D 3D mesh with obstacles corresponding to occupied cells of the map: https://github.com/shilohc/map2gazebo

The code can also be used with some modifications use 2D images to create 3D meshes.

Also you could turn your image to .yaml file if you have the corresponding heights for each cell. https://answers.ros.org/question/2006...

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2021-11-14 01:54:22 -0600

Seen: 98 times

Last updated: Nov 15 '21