Skip to content
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

Issue #22: only touch cells within the triangular projection of the sensor cone #30

Merged
merged 1 commit into from Nov 16, 2017

Conversation

corot
Copy link
Contributor

@corot corot commented May 2, 2016

On updateCostmap, only touch cells within the triangular projection of the sensor cone.

I also add a parameter (inflate_cone) to regulate this feature as a percentage. 100% rolls back to current behavior of covering a rectangular area, while 0% corresponds to just the triangle. I added this because, if your sensor fov is very narrow, the covered area can become zero due to cell discretization.

The parameter meaning is a bit tricky, I think, so I created a video to show it working: I set all cells as obstacles to see the covered area. Also a good wiki explanation will be required if this PR is accepted.

Btw, in terms of performance, the feature has nearly no impact; if ever, it makes the update a bit faster when the sensor covers a big area.

…r projection of the sensor cone. I also add a parameter to regulate (and deactivate) this feature
@DLu DLu merged commit 11becc9 into DLu:indigo Nov 16, 2017
corot added a commit to corot/navigation_layers that referenced this pull request Apr 7, 2020
…r projection of the sensor cone. I also add a parameter to regulate (and deactivate) this feature (DLu#30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants