Main Content
rosReadOccupancyGrid
Description
returns an map
= rosReadOccupancyGrid(msg
)occupancyMap
(Navigation Toolbox) object by reading the data
inside a ROS or ROS 2 message structure, msg
, which must be a
'nav_msgs/OccupancyGrid'
message. All message data values are
converted to probabilities from 0 to 1. The unknown values (-1) in the message are
set as 0.5 in the map.
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a