Skip to content

Direct torque friction scales support#445

Merged
urfeex merged 7 commits intoUniversalRobots:masterfrom
urrsk:direct_torque_friction_scales_support
Mar 20, 2026
Merged

Direct torque friction scales support#445
urfeex merged 7 commits intoUniversalRobots:masterfrom
urrsk:direct_torque_friction_scales_support

Conversation

@urrsk
Copy link
Member

@urrsk urrsk commented Feb 25, 2026

Summary

This pull request introduces enhancements to the Direct Torque Control (DTC) arguments, enabling improved adjustments to the friction model's contribution. Additionally, the friction model itself has been significantly improved, resulting in better performance.

Key Updates

  • Direct Torque Control arguments: Enhanced to allow more adjustments to the friction model contribution.
  • Friction model improvements: Significant updates to use the improved Direct Torque Control feature.

Version Availability

These updates are available starting from PolyScope version 5.25.1/10.12.1.

Beta Access

A beta version of PolyScope 5.25.1 is available for testing at:
https://ur.centercode.com/key/polyscope5beta

Add support for direct_torques new arguments:
  viscous_scale and coulomb_scale arguments.

And mark the old friction_comp as deprecated.
Add a setTcpOffset to the script command interface documentation
@urrsk urrsk force-pushed the direct_torque_friction_scales_support branch from 867b9d0 to fe44230 Compare February 25, 2026 10:45
@urfeex urfeex added the enhancement New feature or request label Feb 25, 2026
@codecov
Copy link

codecov bot commented Feb 25, 2026

Codecov Report

❌ Patch coverage is 73.68421% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.72%. Comparing base (53e3577) to head (17a4f1f).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
src/ur/ur_driver.cpp 0.00% 9 Missing ⚠️
src/control/script_command_interface.cpp 95.65% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #445      +/-   ##
==========================================
+ Coverage   76.59%   76.72%   +0.13%     
==========================================
  Files         109      110       +1     
  Lines        5777     5810      +33     
  Branches     2560     2570      +10     
==========================================
+ Hits         4425     4458      +33     
+ Misses       1010     1007       -3     
- Partials      342      345       +3     
Flag Coverage Δ
start_ursim 83.76% <ø> (+1.41%) ⬆️
ur20-latest 69.95% <73.68%> (+0.13%) ⬆️
ur5-3.14.3 72.08% <73.68%> (-0.03%) ⬇️
ur5e-10.11.0 65.87% <73.68%> (+0.39%) ⬆️
ur5e-10.12.0 66.83% <73.68%> (+0.16%) ⬆️
ur5e-10.7.0 65.22% <73.68%> (-0.10%) ⬇️
ur5e-5.9.4 72.91% <73.68%> (+0.13%) ⬆️

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
Copy link
Member

urfeex commented Mar 20, 2026

With 5.25.1 and 10.12.1 release, I will merge this.

@urfeex urfeex merged commit e8802f9 into UniversalRobots:master Mar 20, 2026
28 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants