ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
Please have a look into yaml of map you are using.
using origin
and resolution
you can find position of each cell.
origin : The 2-D pose of the lower-left pixel in the map, as (x, y, yaw), with yaw as counterclockwise rotation (yaw=0 means no rotation). Many parts of the system currently ignore yaw.
resolution : Resolution of the map, meters / pixel
2 | No.2 Revision |
Hi,
Please have a look into yaml of map you are using.
using origin
and resolution
you can find position of each cell.
origin : The 2-D pose of the lower-left pixel in the map, as (x, y, yaw), with yaw as counterclockwise rotation (yaw=0 means no rotation). Many parts of the system currently ignore yaw.
resolution : Resolution of the map, meters / pixel
Edit
Occupancy Grid msg member data
is having
Occupancy probabilities are in the range [0,100]. Unknown is -1.
Use free_thresh
param to get Unoccupied cells (i.e free cells).
free_thresh : Pixels with occupancy probability less than this threshold are considered completely free.
if free_thresh: 0.196
then all cells with occupancy lessthan 19.6 (and not -1 ) are free .