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

environment_server doesn't subscribe to collision_map

asked 2012-10-09 21:11:43 -0500

updated 2012-10-11 13:23:52 -0500

I want to generate a collision map from kinect's pointcloud and use this info to do a collision-free arm navigation. so i write a node to receive pointcloud from kinect and publish collison_map with the topic "collision_map_occ". i think i've done this correctly because i can see these collision map green boxes in rviz. but it seems that environment_server doesn't subscribe to the collision_map topic. i'm sure that the param use_collision_map is set to true. does anybody know why?

besides, according to this tutorial, "If the use_collision_map parameter for the environment_server is set to true there must be a supplier of the CollisionMap or the environment_server will not start", but after i stop the collision_map publisher, the environment_server can still start successfully.

btw, i'm using Fuerte on Ubuntu12.04

edit retag flag offensive close merge delete

Comments

1

Can you post your edit as an answer to your own question, and then accept it? That way it will show up as "answered" in the list.

jbohren gravatar image jbohren  ( 2012-10-11 03:40:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-10-11 13:24:12 -0500

After digging into the src of environment_server, i find that to make environemnt_server subscribe to collision_map, one must set both use_monitor and use_collision_map to true. so i just leave this question here in the hope that it can help other people.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-09 21:11:43 -0500

Seen: 291 times

Last updated: Oct 11 '12