Ask Your Question

Motion Planning with base_local_planner

asked 2011-06-14 19:12:55 -0500

PKG gravatar image

updated 2011-06-15 09:38:17 -0500

Eric Perko gravatar image

I'm a bit confused about how to use base_local_planner; I'm following this tutorial . Apologies if questions below seem silly; I'm a newcomer to ROS.

My robot configuration launch file looks like this:


 <node pkg="gazebo_plugins" type="hokuyo_node" name="hokuyo_node" output="screen">
    <param name="sensor_param" value="param_value" />

 < uncommented for display ; odom is a c++ program I wrote to listen to odometry information -->
 <node pkg="learning_tf" type="odom" name="odom_node" output="screen">
    <param name="odom_param" value="param_value" />

  <node pkg="tf" type="tf_echo" name="tf_listener" output="screen" args="/base_link /map">


My move_base file is the same as erratic_navigation's move_base.launch.


  1. What are the sensor, odom and transform packages required for the robot configuration file? Are they listeners to the information published by move_base?
  2. The only odometry reading I get by looking at rostopic output is from erratic_odom. Is this enough?
  3. Is /base_link --> /map the right transformation for tf?
  4. What output should I expect after I run both launch files? Shouldn't I be getting a plan through which the robot moves, dumping output?
  5. Is hokuyo_node the right sensor?
edit retag flag offensive close merge delete


Do you have a real robot that you want to port to ROS? Or do you want to test the navigation stack using a simulated robot in Gazebo (e.g., the Erratic or PR2)?
Martin Günther gravatar image Martin Günther  ( 2011-06-16 00:41:33 -0500 )edit
I'm using the Erratic simulation.
PKG gravatar image PKG  ( 2011-06-16 03:18:54 -0500 )edit
Is there a particular reason for using the Erratic? Most Willow packages use the PR2 simulation and are better-supported than the Erratic packages. I'd start by playing around with the launch files recommended by Eitan below to get a feel for how everything plays together.
Martin Günther gravatar image Martin Günther  ( 2011-06-19 21:11:31 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2011-06-16 05:09:48 -0500

eitan gravatar image

Have you first tried the example launch files in the navigation_stage package. If you're just looking to run the navigation stack in simulation, that package is a good place to start.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-06-14 19:12:55 -0500

Seen: 369 times

Last updated: Jun 16 '11