Ask Your Question

Revision history [back]

These are different message types -- so you can't directly connect them. You could write a node that subscribes to sensor_msgs/Image and outputs nav_msgs/OccupancyGrid. You'll also need to create the data for nav_msgs/MapMetaData (which clearly won't exist in the image).