How to open a map.pgm in V-REP

Typically: "How do I... ", "How can I... " questions
Post Reply
mechatronics_eng
Posts: 2
Joined: 18 May 2020, 17:13

How to open a map.pgm in V-REP

Post by mechatronics_eng »

Hello, I have a project in which a mobile robot can navigate from a point to another within a map. This project works perfectly in Rviz and Gazebo but now I want to see its motion also on V-REP. I already have the model of the robot opened in V-REP but I don't see the surrounding map. So how can I open a map (.pgm and .yaml file) in V-REP?
thanks for your time!

lyz
Posts: 57
Joined: 07 Mar 2019, 07:34

Re: How to open a map.pgm in V-REP

Post by lyz »

Hi,
You can run map_server node to load map.png and map.yaml. It doesn't open by V-REP.

coppelia
Site Admin
Posts: 10366
Joined: 14 Dec 2012, 00:25

Re: How to open a map.pgm in V-REP

Post by coppelia »

In CoppeliaSim, you can create a plane, and apply a texture to it. pgm format is not supported, but many other formats are supported (tga, jpg, png, gif, bmp, tiff, etc.).
Hightfields can also be loaded from images via [Menu bar --> File --> Import -->Heightfield...]

Cheers

Post Reply