-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dealing with dynamic obstacles that get 'stuck' in costmap #545
Comments
You found the issue with the voxel layer resulting in my STVL replacement package. I dont think you actually have any errors here, that's just how it works. |
Thanks for the feedback. Is it because the laser beam separation prevents from detecting if a small region (between the beams) is unoccupied after the object is gone? The object is placed fairly closed to the robot. Seems the laser density should be enough to detect that the region is free. |
Yes, there are problems the discrete raycasting algorithm that the obstacle layer and voxel layer use under the hood. If you used a hokuyo or something dense enough for 2D you wouldn't have an issue but for 3D it becomes a real headache |
We met this problem in ros1 navigation using 2D laser too. |
Hi I am facing this issue as well. Regarding the Best, |
Hi @meiqua, @HappySamuel, Did you solve this already? I'm not sure if the suggested solution works, because if laser_geometry drops the data set as range_max, how could increasing the latter make any difference (it would be dropped anyway, wouldn't it)? I would appreciate your comments! Best, |
Yes, that's because the scan data is set as range_max(old), which is smaller. You can have a try. |
Thanks @meiqua for your quick reply! Actually, this hearkens back to Samuel's question, which is "where is the range_max setting?" In my case, the local_costmap subscribes to /scan topic published from depthimage_to_laserscan_node. So I tried increasing the range_max parameter of the depthimage_to_laserscan package, but it didn't make any difference (as I anticipated in my post yesterday). I suppose you are talking about a range_max parameter of some other place like a sub-package in navigation2. I would appreciate if you could tell me where it is. Thank you in advance for your help!! Best, |
Hi @meiqua, I am converting depth_image from realsense, so I changed the max range of that data and it worked! Best, |
Glad it was helpful! |
Bug report
Required Info:
Steps to reproduce issue
Launch nav stack in simulation using your prefered method
Make sure obstacle layer is ON in `nav2_params.yaml'
Make sure clearing and marking are
True
Manually drop an object in gazebo, i.e. cardboard box, then manually remove the object.
Expected behavior
When the object is added, the obstacle layer in costmap should increase the cost of cells where the dynamic object was placed, likewise it should completely remove the cost once the object is removed.
Actual behavior
The cost is not completely clear once the object is removed. See video below.
Additional information
The text was updated successfully, but these errors were encountered: