Skip to content

Direct torque friction scales support#445

Open
urrsk wants to merge 4 commits intoUniversalRobots:masterfrom
urrsk:direct_torque_friction_scales_support
Open

Direct torque friction scales support#445
urrsk wants to merge 4 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.20%. Comparing base (7b57b66) to head (dae6f94).

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.21%   76.20%   -0.01%     
==========================================
  Files         104      105       +1     
  Lines        5528     5551      +23     
  Branches      594      600       +6     
==========================================
+ Hits         4213     4230      +17     
- Misses       1016     1023       +7     
+ Partials      299      298       -1     
Flag Coverage Δ
start_ursim 81.68% <ø> (-0.44%) ⬇️
ur20-latest 68.86% <73.68%> (+0.18%) ⬆️
ur5-3.14.3 71.79% <73.68%> (-0.01%) ⬇️
ur5e-10.11.0 65.14% <73.68%> (+3.59%) ⬆️
ur5e-10.12.0 66.03% <73.68%> (-0.09%) ⬇️
ur5e-10.7.0 64.45% <73.68%> (+0.13%) ⬆️
ur5e-5.9.4 72.47% <73.68%> (-0.01%) ⬇️

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.

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