clearing obstacles from local costmap faster
hi everyone
when we are using navigation stack, how we could clear faster the obstacles from local costmap?? I mean some dynamic obstacles which pass across the robot and it recognizes them intime and show them in costmap, but the robot is slow to clear them after they pass and it causes some problems in navigating.
This is my costmap_common_params.yaml and local_costmap_params.yaml. Should i change update_frequency or publish_frequency??
costmap_common_params.yaml:
obstacle_range: 2.5 raytrace_range: 3.0 footprint: [[ -0.146, -0.372], [ 0.154, -0.372], [ 0.354, 0], [0.154, 0.372], [-0.146, 0.372]] inflation_radius: 0.55 observation_sources: laser laser: {sensor_frame: laser, data_type: LaserScan, topic: /scan, marking: true, clearing: true}
local_costmap_params.yaml:
local_costmap: global_frame: odom robot_base_frame: base_link update_frequency: 5.0 publish_frequency: 2.0 static_map: false rolling_window: true width:6.0 height: 6.0 resolution: 0.05
Thanks:))
Also having the same problem. Anyone have a fix?
Do you have clearing observations that show that the obstacle is no longer there?
Not sure what you mean by clearing observations but when i restart move_base, the costmap works fine and doesn't show obstacles that aren't there. Not sure what parameters to change.
Obstacles are meant to stay in the costmap until something gives evidence that they're not there. That evidence could be a clearing observation, i.e. a laser reading that is behind where the obstacle is.
So I'm using a hokuyo urg 04 lx and for some reason when that sees a long hallway, it displays NaN in the /scan topic. This causes the local costmap to show an obstacle, and if i keep moving straight (and there is a hallway perperdincular), the obstacle keeps moving in parallel because of NaN scan.
I tested it without long hallways and didn't have this problem (no NaN in the scan topic), however when it sees a long hallway, the NaN ruins the local costmap. I tried to use the laser scan filters but I don't know how to filter NaN scans.
have you tried the
as described "http://wiki.ros.org/costmap_2d/hydro/obstacles"
Using ROS indigo with the layered costmap and costmap plugins -- is there a way to set a decay rate or something similar so that human scans fade away even if the robot doesn't scan the area again? The output of
rosparam get / | grep -in *observation_persistence*
is empty for me