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

Add fresnel functions #629

Merged
merged 4 commits into from
Apr 26, 2024
Merged

Conversation

agalbachicar
Copy link
Collaborator

🎉 New feature

Part of maliput/maliput_malidrive#265

Summary

Adds support for Fresnel Cosine and Sine functions.
The implementation has been inspired in the CEPHES library and libOpendrive libraries respectively. Proper license attributions can be found in code.

Test it

Via unit tests.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if it affects the public API)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Agustin Alba Chicar <[email protected]>
Signed-off-by: Agustin Alba Chicar <[email protected]>
@agalbachicar agalbachicar force-pushed the agalbachicar/#265_add_fresnel_functions branch from 97c35da to 3cc7b5f Compare April 16, 2024 09:15
Signed-off-by: Agustin Alba Chicar <[email protected]>
Copy link

codecov bot commented Apr 16, 2024

Codecov Report

Attention: Patch coverage is 98.55072% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 68.95%. Comparing base (b998415) to head (50dc74e).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #629       +/-   ##
===========================================
- Coverage   86.34%   68.95%   -17.40%     
===========================================
  Files         232      344      +112     
  Lines       11450    17282     +5832     
===========================================
+ Hits         9887    11916     +2029     
- Misses       1563     5366     +3803     
Files Coverage Δ
src/maliput/math/fresnel.cc 100.00% <100.00%> (ø)
test/math/fresnel_test.cc 96.00% <96.00%> (ø)

... and 111 files with indirect coverage changes

Copy link
Collaborator

@francocipollone francocipollone left a comment

Choose a reason for hiding this comment

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

LGTM

include/maliput/math/fresnel.h Outdated Show resolved Hide resolved
Signed-off-by: Agustin Alba Chicar <[email protected]>
@agalbachicar agalbachicar changed the title Agalbachicar/#265 add fresnel functions Add fresnel functions Apr 23, 2024
Copy link
Collaborator

@francocipollone francocipollone left a comment

Choose a reason for hiding this comment

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

LGTM

@agalbachicar agalbachicar merged commit 42d2eba into main Apr 26, 2024
4 of 5 checks passed
@agalbachicar agalbachicar deleted the agalbachicar/#265_add_fresnel_functions branch April 26, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants