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

Preplexing local cost map problem

asked 2013-10-23 08:57:25 -0500

rnunziata gravatar image

updated 2013-11-01 10:27:14 -0500

Update: 3 images one with after set position issued. One with global map on, one with global map off, and the gazebo image of the simulation.

image description

image description

image description

Update: setting the static map parameter to false in the global_costmap yaml file and the blue map line disappears. Not sure why since the static map is blank. Turning off the Global Map panel (topic: /move_base/global_costmap/costmap) in rivz also makes the blue line go away.

Update using a the light blue crescent map shape is coming from nav_msgs::OccupancyGrid topic /move_base/global_costmap/costmap. When I toggle the global panel off this line disappears. Not sure what this line represents. Robot still runs backwards in both rviz and gazebo if DWA is on.

When I run with the local cost map parms below my robot in rviz and gazebo run backwards and it plots no local (green) path. The aqua blue dots seem to be map related while the red dots are laser. Note they seem to have different orientations. But why?

global_costmap:
  global_frame:        /map
  robot_base_frame:    /base_link
  update_frequency:    30.0
  publish_frequency:   30.0
  static_map:          true   # note setting to false removes blue line
  width:               20.0
  height:              20.0
  origin_x:            -10.0
  origin_y:            -10.0


   local_costmap:
      global_frame:      /odom
      robot_base_frame:  /base_link
      update_frequency:  10.0
      publish_frequency: 10.0
      static_map:        false
      rolling_window:    true
      width:             16.0
      height:            16.0
      origin_x:          0.0
      origin_y:          0.0

image description

when I run with

  static_map:        true
  rolling_window:    false

my robot runs forward and does display a current local path. These are the only changes I make to get this results. Static map can be set to false here and as long as DWA is false also it will move forward.

image description

edit retag flag offensive close merge delete

Comments

What release are you running?

David Lu gravatar image David Lu  ( 2013-10-25 09:58:15 -0500 )edit

Also, the blue dots are your laser scans, and they are where you expect them to be?

David Lu gravatar image David Lu  ( 2013-10-25 09:59:53 -0500 )edit

I am running the latest hydro and gazebo 1.9. The blue dots do not make since to me...since the laser is pointing in the opposite direction. The active laser scan are the red dot and cresent line above the yellow goal arrow. The blue dots are maybe the map data but why are they on the other side.

rnunziata gravatar image rnunziata  ( 2013-10-25 15:54:07 -0500 )edit

You have displayed global costmap and shown the local costmap parameters. Can you check global costmap parameters.

dornhege gravatar image dornhege  ( 2013-10-29 00:05:46 -0500 )edit

Is your configuration using the ObstacleLayer or the VoxelLayer?

David Lu gravatar image David Lu  ( 2013-11-01 05:19:47 -0500 )edit

I am strictly 2d ObstacleLayer

rnunziata gravatar image rnunziata  ( 2013-11-01 05:27:38 -0500 )edit

Can you clarify what topic you're seeing the blue dots in your visualization from?

David Lu gravatar image David Lu  ( 2013-11-01 05:36:54 -0500 )edit

updated question with topic data. /move_base/global_costmap/costmap

rnunziata gravatar image rnunziata  ( 2013-11-01 06:21:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-30 10:53:12 -0500

rnunziata gravatar image

updated 2013-11-01 10:40:27 -0500

Error on my part....static global map was not blank. Had bad data on it did not see it in GIMP Image editor.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2013-10-23 08:57:25 -0500

Seen: 1,452 times

Last updated: Nov 01 '13