Ask Your Question
0

obstacle avoidance with navigation stack

asked 2012-09-03 08:47:58 -0600

camilla gravatar image

Hi, I'm running the navigation stack and using rviz 2DNav to send goal to my robot but it don't avoid obstacles. I'm sure thta it detects them because they're displayed when I use the grid cells display with the obstacles and inflated obstacles topic. What could be the problem?

edit retag flag offensive close merge delete

Comments

I've noticed that, using 2DNav from rviz, the /goal topic published by rviz is subscribed by the proxy node and not by the move_base node, which is the one that published on /cmd_vel. Could this be an error?

camilla gravatar imagecamilla ( 2012-09-05 05:24:00 -0600 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2012-09-04 01:31:28 -0600

Procópio gravatar image

With move_base you can visualize local or global costmap.

If you are seeing the global one, it comes only from you map, not from your sensors. If you cannot see the local costmap obstacles, then your problem may be with the configurations of your yaml files. cheers

edit flag offensive delete link more

Comments

I can see the local costmap obstacles, to do that i'm using two grid cell display setting each topic to /move_base/local_costmap/obstacles and /move_base/local_costmap/inflated_obstacles. But also if I can see the obstacles the robot doesn't avoid them. I can't figure why.

camilla gravatar imagecamilla ( 2012-09-04 02:07:05 -0600 )edit
0

answered 2012-09-03 12:26:55 -0600

cagatay gravatar image

there may be several issues, can you give more details about your planner configurations. Are you completely sure that your robot has followed velocitiy references published by /cmd_vel

edit flag offensive delete link more

Comments

After reading your post I tried to control that what the robot was doing and what was published on /cmd_vel were coherent but doing this check I've seen that if I use the comand "rostopic echo /cmd_vel" nothing appears to be published. this is really weird because the robot moves where I want it to.

camilla gravatar imagecamilla ( 2012-09-04 00:20:09 -0600 )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: 2012-09-03 08:47:58 -0600

Seen: 1,650 times

Last updated: Sep 04 '12