Skip to content

Conversation

@urfeex
Copy link
Member

@urfeex urfeex commented Apr 15, 2025

Before the main control mode (position/velocity) was always overwriting the complete list for the joint. That worked fine when that was the only control mode for a joint or if it was the first in the list. But that is not guaranteed.
Since we create the list as an empty vector beforehand, anyway, we can simply append to that list in any case. The list will be checked for compatibility at a later point, anyway.

Before the main control mode (position/velocity) was always overwriting
the complete list for the joint. That worked fine when that was the only
control mode for a joint or if it was the first in the list. But that is
not guaranteed.
Since we create the list as an empty vector beforehand, anyway, we can
simply append to that list in any case. The list will be checked for
compatibility at a later point, anyway.
@urfeex urfeex requested a review from a team April 15, 2025 12:31
@codecov
Copy link

codecov bot commented Apr 15, 2025

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 5.07%. Comparing base (1b121b7) to head (de395b2).
Report is 429 commits behind head on main.

Files with missing lines Patch % Lines
ur_robot_driver/src/hardware_interface.cpp 0.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1344      +/-   ##
========================================
+ Coverage   3.59%   5.07%   +1.48%     
========================================
  Files         13      33      +20     
  Lines        947    3430    +2483     
  Branches     152     421     +269     
========================================
+ Hits          34     174     +140     
- Misses       843    3254    +2411     
+ Partials      70       2      -68     
Flag Coverage Δ
unittests 5.07% <0.00%> (+1.48%) ⬆️

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.

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

@urfeex urfeex merged commit 81f71bc into UniversalRobots:main Apr 24, 2025
10 of 12 checks passed
@urfeex urfeex deleted the fix_tool_contact_after_program_restart branch April 24, 2025 07:33
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.

2 participants