Read binary occupancy grid
returns a map
= readBinaryOccupancyGrid(msg
)binaryOccupancyMap
object by reading the data inside
a ROS message, msg
, which must be a
'nav_msgs/OccupancyGrid'
message. All message data values
greater than or equal to the occupancy threshold are set to occupied,
1
, in the map. All other values, including unknown values
(-1
) are set to unoccupied, 0
, in the
map.