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

Error with octomap and hector_indoor_slam

asked 2015-09-22 23:02:51 -0500

boon gravatar image

updated 2015-09-23 03:39:59 -0500

gvdhoorn gravatar image

I am trying to run octomap_server along with hector_indoor_slam. But when I try to map, I get an error with octomap as follows,

[ERROR] [1442979646.410189416, 1543.345000000]: Client [/rviz] wants topic /octomap_point_cloud_centers to have datatype/md5sum [nav_msgs/OccupancyGrid/3381f2d731d4076ec5c71b0759edbe4e], but our version has [sensor_msgs/PointCloud2/1158d486dd51d683ce2f1be655c3c181]. Dropping connection.

[ERROR] [1442979677.062076900, 1550.629000000]: Client [/rviz] wants topic /octomap_full to have datatype/md5sum [nav_msgs/OccupancyGrid/3381f2d731d4076ec5c71b0759edbe4e], but our version has [octomap_msgs/Octomap/9a45536b45c5e409cd49f04bb2d9999f]. Dropping connection.

why does the error occur?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-09-23 01:46:50 -0500

The error message indicates there is a mismatch of message types between the publisher and subscriber sides. It looks like you accidentally tried using a "OccupancyGrid" display for the /octomap_point_cloud_centerstopic. This is wrong however, you should be using a "PointCloud2" display for that topic.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-09-22 23:02:51 -0500

Seen: 221 times

Last updated: Sep 23 '15