Write values from grid to ROS message


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 message object handle.

Occupancy map, specified as an occupancyMap object handle.

Introduced in R2016b