Abhy,

Am I understanding correctly that, at this point, sending a goal using rviz works just fine for you, but that sending a goal to the navigation stack with code does not?

The code you posted above looks reasonable, are you sure that the location you're attempting to send the robot to is valid? You can visualize the current goal that the navigation stack is pursuing via the "current_goal" topic described here: http://www.ros.org/wiki/navigation/Tutorials/Using%20rviz%20with%20the%20Navigation%20Stack#Current_Goal. You should see that goal show up in rviz in free space for the navigation stack to have a reasonable shot at succeeding. Also, the navigation stack attempts to tell you why it fails to reach its goal. Can you bring up a console (rxconsole) and post any output you get from move_base on failure? That should help diagnose exactly what's going on.

Hope this helps,

Eitan

On Sat, Jan 29, 2011 at 10:55 PM, abhy <abhy.12354@gmail.com> wrote:

Thanks brian for the reply. So, i can set parameters through x,y,a.

We are still struggling with the move_base issue. we can set the target
properly but planner does not plans a path. Surprisingly, sometimes when
target is set path is getting planned but most of the times it fails to do
so. But, it is not the case with rviz. Through rviz when target is set local
planner runs well.

Are we doing something wrong?
--
View this message in context: http://ros-users.122217.n3.nabble.com/Move-base-fails-tp2369343p2382327.html
Sent from the ROS-Users mailing list archive at Nabble.com.
_______________________________________________