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

[Transmissions] Make transmission interface work with new variants approach #1845

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

saikishor
Copy link
Member

@saikishor saikishor commented Nov 4, 2024

The new changes to the handles, that the data exists inside the Handle itself will create problems with the old transmission_interface API and it is kinda dysfunctional with the new approach. This PR aims to solve the issue by migrating the transmission part to the new API and making it functional with the latest shared pointers approach.

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

Attention: Patch coverage is 96.26168% with 16 lines in your changes missing coverage. Please review.

Project coverage is 89.46%. Comparing base (bfbedd2) to head (2d6e735).

Files with missing lines Patch % Lines
...ce/include/transmission_interface/transmission.hpp 0.00% 9 Missing ⚠️
...ude/transmission_interface/simple_transmission.hpp 76.92% 1 Missing and 2 partials ⚠️
...ansmission_interface/differential_transmission.hpp 95.23% 0 Missing and 2 partials ⚠️
...ission_interface/four_bar_linkage_transmission.hpp 93.54% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1845      +/-   ##
==========================================
- Coverage   89.59%   89.46%   -0.14%     
==========================================
  Files         139      139              
  Lines       15222    15408     +186     
  Branches     1290     1298       +8     
==========================================
+ Hits        13638    13784     +146     
- Misses       1096     1132      +36     
- Partials      488      492       +4     
Flag Coverage Δ
unittests 89.46% <96.26%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...erface/include/transmission_interface/accessor.hpp 83.33% <ø> (ø)
..._interface/test/differential_transmission_test.cpp 99.53% <100.00%> (+0.15%) ⬆️
...erface/test/four_bar_linkage_transmission_test.cpp 99.52% <100.00%> (+0.13%) ⬆️
...ission_interface/test/simple_transmission_test.cpp 100.00% <100.00%> (ø)
transmission_interface/test/utils_test.cpp 100.00% <100.00%> (ø)
...ansmission_interface/differential_transmission.hpp 74.04% <95.23%> (-5.77%) ⬇️
...ission_interface/four_bar_linkage_transmission.hpp 71.18% <93.54%> (-6.71%) ⬇️
...ude/transmission_interface/simple_transmission.hpp 70.17% <76.92%> (-4.34%) ⬇️
...ce/include/transmission_interface/transmission.hpp 9.09% <0.00%> (-90.91%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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