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

TurtleBot "move_base/goal" Problem

asked 2012-05-14 03:19:52 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Publishing a MoveBaseActionGoal.msg on the move_base/goal topic sometimes fails. Sometimes, though the goal appears on "rostopic echo move_base/goal", the TurtleBot will not move.

Can anyone resolve the issue?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2012-05-14 03:44:40 -0500

Lorenz gravatar image

Normally, you should not send MoveBaseActionGoal messages directly. Instead, use actionlib. Have a look at this tutorial.

In your case, unless you can provide more information, I think it is hard to say what the actual problem is. Does rxconsole show something? My guess is that you don't fill in some information actionlib relies on correctly. Using actionlib instead of constructing the goal by hand would prevent that.

edit flag offensive delete link more

Comments

Thanks a lot!

McMurdo gravatar image McMurdo  ( 2012-05-15 23:57:13 -0500 )edit
0

answered 2012-05-17 20:52:20 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Suppose I want to check the position only. If the position is right, I want the robot to proceed to the next goal. Only for the last goal, I check the orientation also.

Currently I am using a callback to verify the position and I do move_base/cancel topic to cancel the goal once the position is reached. This I do to increase the fluency of the maneuver. Please suggest a method to so that using the Actionlib_msgs thing.

edit flag offensive delete link more

Comments

1

You should use actionlib for cancelling goals. You should never send goals, cancel messages etc. manually.

Lorenz gravatar image Lorenz  ( 2012-05-17 22:42:58 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2012-05-14 03:19:52 -0500

Seen: 1,633 times

Last updated: May 17 '12