ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Is it possible to make map-server subscribe to image

asked 2018-03-21 05:27:07 -0600

rajagrwl gravatar image

updated 2018-03-28 02:43:42 -0600

gvdhoorn gravatar image

I want to make map_server subscribe to sensor_msgs/Image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-27 18:10:28 -0600

fergs gravatar image

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).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-03-21 05:27:07 -0600

Seen: 107 times

Last updated: Mar 27 '18