Ask Your Question
0

Navigation Stack and Stage Questions

asked 2012-03-01 06:35:55 -0500

Turak gravatar image

I'm working on using the navigation stack with a simulated robot in stage. I have a used the sample move_base_fake_localization_5cm.launch and have no problems with it. However, I'm trying to work with my own simulation. I have a few problems, and I don't know if they are related or separate.

  1. When I run my launch file, everything launches, but I get a warning over and over. The warning is: The origin for the sensor at (3.00, 6.40) is out of map bounds. So, the costmap cannot raytrace for it.
  2. When I launch rviz, nothing lines up right. The robot is not within the map. The robot is also at a 90 degree angle from what it shows in stage.

Stage shows everything correctly. Some areas of the map in stage are valid and others are not. It seems to me that the coordinate system that I see in stage and the coordinate system for the costmap are offset. Any suggestions on where to look to fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-03-01 08:13:05 -0500

Turak gravatar image

I got this to work, so I thought I'd post what the problem was in case someone else stumbles across the same issue in the future. I needed to change the position of my stage simulation floorplan so that one map corner was in the top left section of the coordinate plan (-x, y). This lined the map in stage up with the costmap, getting rid of the errors.

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

1 follower

Stats

Asked: 2012-03-01 06:35:55 -0500

Seen: 320 times

Last updated: Mar 01 '12