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

maximumRange not properly considered in groundMapping module #892

Merged
merged 3 commits into from
Dec 31, 2024

Conversation

schaubh
Copy link
Contributor

@schaubh schaubh commented Dec 30, 2024

  • Tickets addressed: bsk-878
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

The method checkInstrumentFOV() was not properly respecting the default value of maximumRange being -1.0 which should result in the range not being considered. This branch corrects this issue.

Verification

The unit test is updated to check if the target is in range by setting maximumRange to default value (-1), a very small value (no target in range) and a very large maximum range value.

Documentation

Updated release notes.

Future work

None

@schaubh schaubh added the bug Something isn't working label Dec 30, 2024
@schaubh schaubh self-assigned this Dec 30, 2024
@schaubh schaubh requested a review from a team as a code owner December 30, 2024 20:50
@schaubh schaubh linked an issue Dec 30, 2024 that may be closed by this pull request
Check now if the range is large, very small (yield negative result) or -1 (default behavior where range is not considered)
@schaubh schaubh force-pushed the feature/issue_878_groundMapping branch from 11904fc to ff2e328 Compare December 30, 2024 21:47
@schaubh schaubh requested a review from Mark2000 December 30, 2024 21:49
Copy link
Contributor

@Mark2000 Mark2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good correction

@schaubh schaubh merged commit ae9b1cd into develop Dec 31, 2024
9 checks passed
@schaubh schaubh deleted the feature/issue_878_groundMapping branch December 31, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

GroundMapping: maximumRange=-1 isn't a valid action
2 participants