Ask Your Question
0

Global Costmap only publishing once to a subscriber?

asked 2013-12-12 12:49:04 -0500

Bobby9002 gravatar image

updated 2013-12-12 19:57:31 -0500

tfoote gravatar image

Hello.

I'm using the amcl_demo.launch file to localize to a static map, and gather costmap data of the environment. When I try to subscribe to the global_costmap/costmap topic, it only publishes once, and will not update the value. The same effect is seen when using rostopic echo. Rviz can update the global costmap display, so I don't know what the issue is. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-05-14 09:30:14 -0500

David Lu gravatar image

updated 2014-08-29 10:30:08 -0500

You also need to subscribe to costmap_updates.

Edit : I have uploaded an example of how to combine the topics here: https://github.com/DLu/navigation/com...

edit flag offensive delete link more

Comments

I would like to have more info. I'm trying to subscribe to costmap_updates but I obtain: Is /clock being published?

Also in Rviz the global costmap won't update

alex920a gravatar image alex920a  ( 2014-08-29 05:53:04 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-12-12 12:49:04 -0500

Seen: 869 times

Last updated: Aug 29 '14