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

NearFieldCorrection: fix unit scale of lambda #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

7FM
Copy link

@7FM 7FM commented Jul 7, 2021

This fixes the unit scale of LAMBDA_77GHz_MILLIMETER which is currently meters instead of millimeters.
All other calculation already assume millimeters, i.e. the range

range_in_millimeter = (detected_objects['rangeIdx'][idx] * range_resolution - range_resolution) * 1000

or the geometry point offsets for point D of 8.7mm:
"D": 2 * LAMBDA_77GHz_MILLIMETER + 8.7,

Hence, lambda should be scaled to millimeters as well to avoid adding variables with different unit scales.

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.

1 participant