Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat(pointcloud_preprocessor): update azimuth and distance in distortion_correction_node #5560
feat(pointcloud_preprocessor): update azimuth and distance in distortion_correction_node #5560
Changes from 7 commits
08d9e45
404e59a
6a1c6da
c99dbb7
598bd42
447a71d
ab81c47
1ed9e29
8502d89
2058788
dffbd56
d779a36
e2b9526
78dde17
ef03a19
4929958
a7ccf4a
686ec6a
7b51d4f
192a89d
fb2ab65
55682dd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 50 in sensing/pointcloud_preprocessor/docs/distortion-corrector.md
GitHub Actions / spell-check-differential
Check warning on line 50 in sensing/pointcloud_preprocessor/docs/distortion-corrector.md
GitHub Actions / spell-check-differential
Check warning on line 50 in sensing/pointcloud_preprocessor/docs/distortion-corrector.md
GitHub Actions / spell-check-partial
Check warning on line 50 in sensing/pointcloud_preprocessor/docs/distortion-corrector.md
GitHub Actions / spell-check-partial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vividf
As fastAtan2 function description, the accuracy is 0.3 deg which greater than VLS128 azimuth resolution (~0.2deg) so do you think some beams' order in a ring might be changed?
Anyway, IMO, even it's happened, it changes only 1 beam so it will not affect other filters result, such as Dual_return_filter which uses rertified topic as input. @miursh @drwnz Do you have any concern about this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be fine for now - if we run into issues we could optionally use a custom look up table implementation or use a method which has higher accuracy (at higher computational cost) but as you mention, I doubt that this will cause any problems for the modules which actually use azimuth.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drwnz
I agree that it's acceptable to use fastAtan2 for now.
@vividf I think it is better to add the reference about fastAtan accuracy and a warning about posibility of changing beam order for high azimuth resolution LiDAR in filter README?
Check warning on line 313 in sensing/pointcloud_preprocessor/src/distortion_corrector/distortion_corrector.cpp
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
❌ Getting worse: Complex Method