Ask Your Question
0

Simple move_base example without sensors?

asked 2016-07-21 05:01:57 -0600

Mark Rose gravatar image

updated 2016-07-21 10:01:43 -0600

I have a small, custom robot. I'm trying to learn the ROS navigation stack in this order:

  1. Set up my robot to move by teleoperation and publish odometry. (DONE)
  2. Use move_base to drive to a goal position (/move_base_simple/goal) assuming no obstacles and using no sensors.
  3. Add sensors and obstacle avoidance with no a priori map.
  4. Use gmapping to generate a map.

I'm stuck on #2 right now. I've tried to use a global configuration that has "rolling_window: true" and "static_map: false", as suggested, but move_base seems to go into recovery modes right away. (Local configuration is similar.) Can someone point me to an example of using move_base with neither a static map nor sensors? Or tell me how to figure out why a recovery mode is being triggered?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-08-08 11:54:05 -0600

paulbovbel gravatar image

Please provide your costmap (i.e. move_base) configuration. Also, I highly suggest you use the layered costmap configuration which was introduced in ROS Hydro.

Take a look at the way the configs are handled in the Husky as an example, although it is a little complicated with the multiple param files:

https://github.com/husky/husky/blob/i...

Off the top of my head, if move_base is going into recovery mode, I'm sure it's broadcasting some error messages that you could capture in this question. It's likely unable to generate a plan, which could be due to any number of things, such as the initial values in the costmap (track_unknown_space=False, since you have no sensors to clear space)? the size of the global/local costmaps, etc.

edit flag offensive delete link more

Comments

Thanks, I was meaning to update the question. I have compared the Husky and Turtlebot setups, and I was able to get it running without sensors. I had some configuration errors, which are now fixed. I still have problems, but I think they are due to faulty local_planner params.

Mark Rose gravatar imageMark Rose ( 2016-08-08 13:11:15 -0600 )edit

I'll get my minimal example working and link to it, once I work out the remaining problems.

Mark Rose gravatar imageMark Rose ( 2016-08-08 13:15:06 -0600 )edit
0

answered 2018-10-19 02:12:41 -0600

Will Chamberlain gravatar image

Working example: download and build and source rbx1 , and arbotix_ros for their Turtlebot configuration . Run roslaunch rbx1_nav fake_nav_test.launch to kick off the example, and visualise and control through rviz .

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

2 followers

Stats

Asked: 2016-07-21 05:01:57 -0600

Seen: 856 times

Last updated: Oct 19 '18