Ask Your Question

Revision history [back]

Run hector_compressed_map_transport?

Hello everyone,

I've been trying to use the hector_map stack (http://wiki.ros.org/hector_slam?distro=indigo) for generating an occupancy grid of an environment using laser scan data.

My team and I wanted to use opencv to detect specific shapes of obstacles on the map and for that we need to transform the occupancy grid into an image which is being done by the hector_compressed_map_transport (http://wiki.ros.org/hector_compressed_map_transport?distro=indigo).

However, each time we try to run it with the following command:

rosrun hector_compressed_map_transport map_to_image_node


we get the following error:

[rosrun] Couldn't find executable named map_to_image_node below /opt/ros/indigo/share/hector_compressed_map_transport


The hector_slam stack was installed using the following command:

sudo apt-get install ros-indigo-hector-slam


Actually, the only node we have been able to successfully run was the hector_mapping node from the hector_mapping package. All other nodes from any other packages return the same error. However, when using the launch file from the tutorials, the hector_geotiff node does run (but not with rosrun), and we have not been able to successfully modify a launch file to run hector_compressed_map_transport.

Thank you for your time!