Grid map and map_server
Hi I am implementing global planner, my map is no image but 2d array of 1 and 0
Should I use map_server? How can makePlan receives the map? In which format?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi I am implementing global planner, my map is no image but 2d array of 1 and 0
Should I use map_server? How can makePlan receives the map? In which format?
I think the easiest would be to write some code to turn your array into a PGM file and a yaml file describing it (dimensions, origin). Once you have that you can use map_server
. Not sure what your preferred language is, but in node.js you can easily create PGM files using https://www.npmjs.com/package/pgmjs or https://github.com/thejh/node-dumb-pg....
Asked: 2020-11-10 12:10:54 -0600
Seen: 174 times
Last updated: Nov 10 '20
Setting the grid size in costmap
Making the robot go straight on an empty map [closed]
Initializing a costmap_2d with a static_map
Is it possible to have memory mapped messages in ROS?
Do I need a transform for my map?
Costmap not published, error: Polygon lies outside map bounds, so we can't fill it