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

joekeo's profile - activity

2021-03-16 14:55:12 -0500 received badge  Famous Question (source)
2020-12-18 13:15:42 -0500 marked best answer Local_costmap not showing every obstacle

Hello,

Sorry if this is a double post, i can seem to find anyone with the same issue. I have been working with move_base for a while now using different platforms. But I have never experienced this issue, maybe some of you did.

The local costmap seems to only be showing some of the obstacles but not all of them, particularly dynamic ones. The picture below shows an exmaple, where the local cost map picks up objects by the side of the robot, but not the table that is just infront of him.

Selection_034

Similar things happen with dynamic ones (people) the costmap shows them at random points around the robot, but not all the time.

The robot is setup with a Hokuyo lidar. here are the config files: common_costmap.yaml

global_frame: map
robot_base_frame: base_link

footprint:  [[0.42, 0.26], [-0.42, 0.26], [-0.42, -0.26], [0.42, -0.26]]
footprint_padding: 0.03

inflater_layer:
  inflation_radius: 0.05
  cost_scaling_factor: 0.5

plugins:
- {name: obstacles_layer, type: "costmap_2d::ObstacleLayer"}
- {name: inflater_layer, type: "costmap_2d::InflationLayer"}

global_costmap.yaml:

global_costmap:
  update_frequency: 5.0
  static_map: true
  rolling_window: false
  resolution: 0.05
  static_layer:
    map_topic: /map
    subscribe_to_updates: true
    lethal_cost_threshold: 60
  inflater_layer:
    inflation_radius: 0.25
    cost_scaling_factor: 0.5

  plugins:
  - {name: static_layer, type: "costmap_2d::StaticLayer"}
  - {name: inflater_layer, type: "costmap_2d::InflationLayer"}

local_costmap.yaml:

local_costmap:
  update_frequency: 5.0
  publish_frequency: 5.0
  static_map: false
  rolling_window: true
  width: 8.0
  height: 8.0
  resolution: 0.05


  obstacles_layer:
    observation_sources: laser_scan_sensor
    laser_scan_sensor: {sensor_frame: horizontal_laser_link, data_type: LaserScan, topic: scan, clearing: true, marking: true}
    max_obstacle_height: 3
    obstacle_range: 10
    raytrace_range: 11

If anyone have any Idea why this is happening, you will help me sleep at night.

Best, Pepe

2020-12-10 00:41:04 -0500 received badge  Notable Question (source)
2020-12-05 12:38:08 -0500 received badge  Popular Question (source)
2020-12-04 10:07:28 -0500 received badge  Student (source)
2020-12-04 09:59:01 -0500 answered a question How can I map temperature readings to a location?

I have personally never done it, but I would start thjinking about using markers in rviz Maybe choose a slim shape and m

2020-12-04 09:52:30 -0500 asked a question What is the optimal way to filter laser scans that are taken when the robot is tilted (roll/pitch)

What is the optimal way to filter laser scans that are taken when the robot is tilted (roll/pitch) As the title says, I

2020-09-09 04:08:01 -0500 received badge  Famous Question (source)
2020-09-09 04:08:01 -0500 received badge  Notable Question (source)
2020-09-09 04:08:01 -0500 received badge  Popular Question (source)
2019-09-25 11:34:08 -0500 received badge  Famous Question (source)
2019-09-06 06:44:50 -0500 received badge  Notable Question (source)
2019-07-03 08:33:43 -0500 answered a question Local_costmap not showing every obstacle

Managed to solve this. The solution was similar (if not the same) as what David Lu proposed. Bellow I show the final cos

2019-07-03 08:30:11 -0500 received badge  Popular Question (source)
2019-06-25 03:29:56 -0500 edited question Local_costmap not showing all obstacles

Local_costmap not showing all obstacles Hello, Sorry if this is a double post, i can seem to find anyone with the same

2019-06-25 03:23:56 -0500 asked a question Local_costmap not showing all obstacles

Local_costmap not showing all obstacles Hello, Sorry if this is a double post, i can seem to find anyone with the same

2019-06-25 03:22:33 -0500 asked a question Local_costmap not showing every obstacle

Local_costmap not showing every obstacle Hello, Sorry if this is a double post, i can seem to find anyone with the same

2019-03-23 13:48:06 -0500 received badge  Enthusiast
2019-03-21 06:39:36 -0500 asked a question Recommendations on communications hardware (router and wifi repeater)

Recommendations on communications hardware (router and wifi repeater) Hello Everyone, The current setup that we have is

2019-03-21 06:39:36 -0500 asked a question We want to upgrade our communications hardware, any recommendations?

We want to upgrade our communications hardware, any recommendations? Hello Everyone, The current setup that we have is: