Help needed: sending goal to move_base_simple has no effect

2,061 views
Skip to first unread message

Mathieu Beliveau

unread,
Dec 2, 2013, 2:10:48 PM12/2/13
to ros-sig-...@googlegroups.com

Hi! Still getting acquainted so please be patient.

From ROS electric (have to deal with legacy code, can't upgrade), I'm trying to simply move my turtlebot around using the move_base_simple topic. At first, I tried using actionlib, succeeded in connecting to the server, setting up a goal but sending it actually had no effect. For debugging purposes, I'm now trying to simply publish the goal from command line.

Here is my current setup:

First ran:

roslaunch turtlebot_bringup minimal.launch
roslaunch turtlebot_navigation move_base_turtlebot.launch

now from rostopic list I have:

/move_base/goal
/move_base_node/current_goal
/move_base_simple/goal

I then try to publish the goal as follows:

rostopic pub /move_base_simple/goal geometry_msgs/PoseStamped '{ header: { frame_id:  "/base_link"}, pose: { position: { x: 0.2, y: 0 }, orientation: { x: 0, y: 0, z: 0, w: 1 } } }'

Nothing happens. If I try: rostopic echo /move_base_simple/goal, I can see that the goal is set. I tried changing the turtlebot_drive_mode to either drive, twist or turtle, no effect. I also tried to teleop the bot with the keyboard, it works. Tried to send velocity commands, also works.

If anyone can shed some light on why the robot isn't responding to the commands, it'll be greatly appreciated! (I've spent more than 5 hours digging on this issue).

Thanks!

Jorge Santos

unread,
Dec 2, 2013, 7:31:15 PM12/2/13
to ros-sig-...@googlegroups.com
Hi Mathieu,
do you have any errors/warnings in the log? I'm not sure at all, but I think that in electric sending goals not in global frame (normally /map) didn't work.

As a fast test, try replacing "/base_link" by "/map".


--
You received this message because you are subscribed to the Google Groups "ROS TurtleBot Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-turtle...@googlegroups.com.
To post to this group, send email to ros-sig-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-turtlebot/6b8b3286-2fa4-4d0b-87eb-f5befc9a9f3b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Mathieu Beliveau

unread,
Dec 3, 2013, 5:46:44 PM12/3/13
to ros-sig-...@googlegroups.com
Hi Jorge,

I will try your suggestion tonight (replacing /base_link with map). Hopefully this will fix the issue; I'll post back the results in the thread. 
Many thanks!

Mathieu

Mathieu Beliveau

unread,
Dec 4, 2013, 12:39:08 AM12/4/13
to ros-sig-...@googlegroups.com
Tested with rostopic pub /move_base_simple/goal geometry_msgs/PoseStamped '{ header: { frame_id:  "/map"}, pose: { position: { x: 0.2, y: 0 }, orientation: { x: 0, y: 0, z: 0, w: 1 } } }'

no success.

I just ran roswtf and the output does raise some warnings concerning /move_base_simple. Though, I ain't sure what I should do about it, here is roswtf output when reproducing the aforementioned steps:

 Found 2 warning(s).
Warnings are things that may be just fine, but are sometimes at fault

WARNING The following node subscriptions are unconnected:
 * /move_base:
   * /map

WARNING The following nodes are unexpectedly connected:
 * /move_base->/rosout (/rosout)
 * /app_manager->/rosout (/rosout)
 * /robot_pose_ekf->/rosout (/rosout)
 * /turtlebot_laptop_battery->/rosout (/rosout)
 * /diagnostic_aggregator->/rosout (/rosout)
 * /turtlebot_node->/rosout (/rosout)
 * /robot_state_publisher->/rosout (/rosout)


Found 5 error(s).

ERROR Communication with [/robot_state_publisher] raised an error: 
ERROR Communication with [/turtlebot_laptop_battery] raised an error: 
ERROR Communication with [/diagnostic_aggregator] raised an error: 
ERROR Communication with [/turtlebot_node] raised an error: 
ERROR Communication with [/master_sync_turtlebot_5463_2065445581] raised an error: 

Thanks again for your concern!

Mathieu
Reply all
Reply to author
Forward
0 new messages