Skip to content

Add torque control to urscript #325

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

Open
wants to merge 1 commit into
base: torque_control
Choose a base branch
from

Conversation

domire8
Copy link
Contributor

@domire8 domire8 commented May 19, 2025

The PR adds MODE_TORQUE to the supported control modes and extends the external control urscript with a torque thread that applies the latest cmd_tau as torque command.

torque_command also has an optional parameter friction_comp that might be worth parametrizing too, but I'm not sure what effect that had in the first place so I went hardcoded for an MVP.

Let me know what you think about this and what might still be missing.

@domire8 domire8 changed the base branch from master to torque_control May 19, 2025 07:22
@domire8 domire8 force-pushed the feat/torque-control branch from 5575a26 to 9e60359 Compare May 19, 2025 07:23
Copy link

codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (torque_control@ebe30d2). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             torque_control     #325   +/-   ##
=================================================
  Coverage                  ?   81.46%           
=================================================
  Files                     ?        1           
  Lines                     ?      232           
  Branches                  ?        0           
=================================================
  Hits                      ?      189           
  Misses                    ?       43           
  Partials                  ?        0           
Flag Coverage Δ
start_ursim 81.46% <ø> (?)

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.

@domire8 domire8 force-pushed the feat/torque-control branch from 9e60359 to 2adb339 Compare May 19, 2025 07:24
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.

1 participant