writeOccupancyGrid

Write values from grid to ROS message

Description

writeOccupancyGrid(msg,map) writes occupancy values and other information to the ROS message, msg, from the occupancy grid, map.

Input Arguments

collapse all

'nav_msgs/OccupancyGrid' ROS message, specified as an OccupancyGrid (ROS Toolbox) ROS message object handle.

Occupancy map, specified as an occupancyMap object handle.

Introduced in R2016b