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

pass laser scan to move_base

asked 2014-06-05 11:01:29 -0500

dreamcase gravatar image

updated 2014-06-13 12:23:36 -0500

David Lu gravatar image

Hi, all,

I am calling move_base to navigate my robot, by calling "rosrun move_base move_base _global_costmap/global_frame:=world".

move_base Diagram

But I could not find the parameter to define the laser_scan input topic and odometry topic. How do I pass these two parameters? I scan thru move_base.cpp, but cannot find any clue.

all comment appreciated! thanks

Ray

edit retag flag offensive close merge delete

Comments

hi, i only have done this in groovy, but take a look at http://wiki.ros.org/costmap_2d#costmap_2d.2BAC8-flat.Parameters, you can pass the laser scan topic as a observation_source to the costmap, which move_base is using.

pkohout gravatar image pkohout  ( 2014-06-11 04:50:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-06-13 12:25:28 -0500

David Lu gravatar image

I would heartily recommend using a launch file to set the parameters for move_base. There are many parameters, and trying to do it all via the command line will be too complicated. I would start with the tutorials listed here: http://wiki.ros.org/navigation/Tutorials

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-05 11:01:29 -0500

Seen: 1,026 times

Last updated: Jun 13 '14