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

Fix Servo singularity scaling unit tests #2414

Merged
merged 5 commits into from
Oct 9, 2023

Conversation

sea-bass
Copy link
Contributor

@sea-bass sea-bass commented Oct 9, 2023

This PR makes the servo singularity scaling factor unit tests deterministic by initializing the full robot state (not just active positions) to default values before geting the Jacobian.

@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (739afb6) 50.46% compared to head (bc110b3) 50.36%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2414      +/-   ##
==========================================
- Coverage   50.46%   50.36%   -0.09%     
==========================================
  Files         385      385              
  Lines       31772    31767       -5     
==========================================
- Hits        16029    15996      -33     
- Misses      15743    15771      +28     
Files Coverage Δ
moveit_ros/moveit_servo/tests/test_utils.cpp 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sea-bass sea-bass marked this pull request as ready for review October 9, 2023 03:12
@sea-bass sea-bass requested review from AndyZe and sjahr October 9, 2023 03:13
@sea-bass sea-bass self-assigned this Oct 9, 2023
@sea-bass sea-bass force-pushed the update-link-tforms-in-servo-tests branch from f3d5dcf to bc110b3 Compare October 9, 2023 05:51
@sjahr sjahr merged commit e2b8ac2 into main Oct 9, 2023
11 checks passed
@sjahr sjahr deleted the update-link-tforms-in-servo-tests branch October 9, 2023 07:11
@sjahr sjahr mentioned this pull request Oct 9, 2023
6 tasks
m-elwin pushed a commit to m-elwin/moveit2 that referenced this pull request Dec 4, 2023
* Fix Servo singularity scaling unit tests

* Fix Servo singularity scaling unit tests

* Simplify tests

* updateLinkTransforms is not needed after all
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.

None yet

2 participants