Ask Your Question
0

dwa_planner: trajectory_cloud topic not showing up

asked 2014-09-07 20:59:30 -0500

Rick Armstrong gravatar image

Hello,

When we run move_base with dwa_local_planner, doing a rostopic list shows a topic named /move_base/DWAPlannerROS/trajectory_cloud, and another named /move_base/DWAPlannerROS/cost_cloud. However, nothing ever seems to get posted to these topics, even when there's an active nav goal in play. Should we be seeing output on these topics? We're debugging some strange behavior and would sure like to see what the planner is thinking.

Thanks,

Rick

edit retag flag offensive close merge delete

Comments

I think there are parameters that you have to set to enable these topics.

ahendrix gravatar image ahendrix  ( 2014-09-07 21:06:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2014-09-07 21:15:26 -0500

ahendrix gravatar image

If you want to visualize the trajectory cloud and the cost cloud, you have to set the publish_traj_pc and publish_cost_grid_pc parameters respectively. These aren't dynamic_reconfigure parameters, so you'll have to set them directly in your local planner parameters.

This isn't well documented. I had to go to the source to find the relevant parameters: https://github.com/ros-planning/navig...

edit flag offensive delete link more

Comments

Great, thanks Austin!

Rick Armstrong gravatar image Rick Armstrong  ( 2014-09-09 23:52:38 -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

1 follower

Stats

Asked: 2014-09-07 20:59:30 -0500

Seen: 630 times

Last updated: Sep 07 '14