Skip to content

Conversation

@urfeex
Copy link
Member

@urfeex urfeex commented Jan 17, 2025

The lookup can result in quaternions that look different component-wise while still being very similar. Instead of comparing them component-wise to decide whether they are similar, we check whether their dot-product is equal to 1.0. That should be more robust.

@urfeex urfeex requested a review from a team January 17, 2025 07:45
@codecov
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 3.77%. Comparing base (1b121b7) to head (5921212).
Report is 384 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1238      +/-   ##
========================================
+ Coverage   3.59%   3.77%   +0.18%     
========================================
  Files         13     395     +382     
  Lines        947   43470   +42523     
  Branches     152    6398    +6246     
========================================
+ Hits          34    1643    +1609     
- Misses       843   41684   +40841     
- Partials      70     143      +73     
Flag Coverage Δ
unittests 3.77% <ø> (+0.18%) ⬆️

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

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

@urfeex urfeex merged commit fa82013 into UniversalRobots:main Jan 20, 2025
13 of 14 checks passed
@urfeex urfeex deleted the fix_test_quaternion_diff branch January 20, 2025 08:05
mergify bot pushed a commit that referenced this pull request Jan 20, 2025
…mponents individually (#1238)

The lookup can result in quaternions that look different component-wise while still being very similar. Instead of comparing them component-wise to decide whether they are similar, we check whether their dot-product is equal to 1.0. That should be more robust.

(cherry picked from commit fa82013)
urfeex added a commit that referenced this pull request Jan 20, 2025
…mponents individually (backport #1238) (#1243)

The lookup can result in quaternions that look different component-wise while still being very similar. Instead of comparing them component-wise to decide whether they are similar, we check whether their dot-product is equal to 1.0. That should be more robust.

(cherry picked from commit fa82013)

Co-authored-by: Felix Exner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants