Skip to main content

Questions tagged [pgm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
523 views

How to serialize a map in yaml/pgm file type to get data/posegraph file type

I am trying to use the Slam toolbox localization node with ROS2 Humble on Ubunto on a dual-boot laptop, previously I used the AMCL node of the nav2 stack but wanted to try something different to see ...
Rob Binnenmars's user avatar
0 votes
1 answer
51 views

Why was PGM format selected to save map?

I was wondering why people at Willow Garage chose .pgm format to save the maps via map_server. I've seen a pull request to let users change format to png but I guess it wasn't accepted and it isn't ...
jash's user avatar
  • 331
0 votes
1 answer
16 views

How can I transform the jpg/bmp picture to a ROS .pgm map

I have a map of school's square generated by a GPS measuring instrument. The size of the square is 71.27m * 59.98m actually and is 71.27mm * 59.98mm in the CAD diagram. And now I want to use this map ...
user avatar
0 votes
1 answer
8 views

Does AMCL still work in an edited map?

I have a global map of a big room but edited the .pgm file and added a wall so that the robot doesn't drive under a table. My question is does AMCL use this map to correct the localisation of the ...
user avatar
0 votes
1 answer
20 views

How to edit a map programmatically?

Hi, Situation: i am currently on Ubuntu, using ROS Melodic. I work with a self built robot, that has a laser scanner. With the gmapping package I create a map, that ...
user avatar
0 votes
2 answers
29 views

To understand the concept of Origin field from map_server

Hello. I'm trying to run some tutorial which have a ROS Navigation Stack sample. On doing, I couldn't understand the concept of ORIGIN field from yaml which the map_server create after mapping. Here ...
user avatar
0 votes
1 answer
10 views

Failed to open and upload big image file, map_file and map_server

I am using Kinetic and Ubuntu 16.04.6 LTS, I am trying to upload a map file for map_server and use it for navigation and amcl localization, but it is really big, 25500 x 5300 pixels (.pgm). The ...
Lucas Marins's user avatar
0 votes
1 answer
5 views

Will A* in AMCL direct robot into grey area on map

I would like to edit the map produced by a SLAM algorithm, to add in no go areas. These areas do not ave a physical barrier. Would greying them out be sufficient to prevent the A* algorithm used by ...
user avatar
0 votes
1 answer
35 views

how can I use google map on rviz?

I have use robot_localization with gps/imu/odometry. but I need add a outdoor map on rviz. map_server need a map(type of pgm) and yaml. I need a google map type of pgm. I have no idea. Originally ...
user avatar
0 votes
1 answer
101 views

Save nav_msgs/OccupancyGrid as png

Hi, map_server saves an occupancy grid as a pgm, but is there a way to save the map as a png? Thanks! Originally posted by mmy227 on ROS Answers with karma: 13 on 2017-06-19 Post score: 0
user avatar
0 votes
1 answer
26 views

How to create a yaml file to use a predrawn 2d map in a .pgm format to execute on ROS for navigation

Hey. I am trying to use a pre-drawn map made in .pgm format to allow my turtlebot to nagivate through it. I have the .pgm file but do not know how to convert that into YAML as I have only heard from ...
user avatar
0 votes
1 answer
7 views

Importing a costmap layer from a pgm

I've got a costmap that uses a static, obstacle, inflation, and another custom layer that I wrote. Is there an easy way to load an additional layer drawn on a PGM grayscale image? If not, I could ...
user avatar
0 votes
1 answer
11 views

how to double the resolution of the map?

Hello, i did the SLAM Map Building with TurtleBot,got a map( width :576,height:512) and a yaml file that goes with my pgm map. Its resolution is 0.05,but the SBPL Lattice planner has a map ...
user avatar
0 votes
1 answer
11 views

Loading generated maps into Gazebo

I've got some maps that I've generated using the gmapping/slam packages with a turtle bot. However I would prefer to be working within the simulated environment provided by Gazebo. Is there a way I ...
user avatar
0 votes
1 answer
7 views

Can turtlebot_simulator be loaded with a PGM map?

Hello, I have a Turtlebot 2 on ROS Hydro, and I am working on an algorithm for smart autonomous navigation through a known map. I have a map of the building I wanted to test in PGM form, obtained from ...
user avatar
0 votes
1 answer
7 views

how to divide a map (pgm) in little cell

I want to code a complete coverage path planner. So first I got a map, and I want to know how can I divide my map in little square cell and in the middle of each cell put a point. With ...
user avatar
0 votes
1 answer
11 views

pgm resolution problem

SBPL Lattice planner has a map resolution 0.025, and I have a map with a resolution of 0.05. How can I change my map .pgm file in a resolution of 0.025? Originally posted by Ico on ROS Answers with ...
user avatar