Skip to content

Conversation

@urfeex
Copy link
Member

@urfeex urfeex commented May 26, 2025

Before, we were using a RPY notation. Changing that to an angle-axis notation should fix things.

This should fix #1375

@bsolon-tri would you like to try that locally?

I want to add a test checking further orientations and an updated example before merging this, but testing things locally seem to have resolved the issue.

@urfeex urfeex marked this pull request as ready for review May 27, 2025 10:56
urfeex added 2 commits May 27, 2025 12:56
Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.
@urfeex urfeex force-pushed the fix_force_controller_direction branch from 3c8223c to 638ab3f Compare May 27, 2025 10:56
@urfeex urfeex requested a review from a team May 27, 2025 10:56
@codecov
Copy link

codecov bot commented May 27, 2025

Codecov Report

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

Project coverage is 5.06%. Comparing base (1b121b7) to head (81a2282).
Report is 444 commits behind head on main.

Files with missing lines Patch % Lines
ur_controllers/src/force_mode_controller.cpp 0.00% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1379      +/-   ##
========================================
+ Coverage   3.59%   5.06%   +1.47%     
========================================
  Files         13      33      +20     
  Lines        947    3438    +2491     
  Branches     152     424     +272     
========================================
+ Hits          34     174     +140     
- Misses       843    3262    +2419     
+ Partials      70       2      -68     
Flag Coverage Δ
unittests 5.06% <0.00%> (+1.47%) ⬆️

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.

This should avoid a coincitental overlap if the transformation is wrong.
@urfeex urfeex force-pushed the fix_force_controller_direction branch from 638ab3f to 81a2282 Compare May 27, 2025 11:22
@urfeex urfeex merged commit 8eb4288 into UniversalRobots:main May 28, 2025
6 of 12 checks passed
@urfeex urfeex deleted the fix_force_controller_direction branch May 28, 2025 11:47
mergify bot pushed a commit that referenced this pull request May 28, 2025
* [force mode controller] Fix the task frame orientation

Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.

* Update force_mode example to include a pose that is not in line with one of the main axes

* Make test use an arbitraty orientation

This should avoid a coincitental overlap if the transformation is wrong.

(cherry picked from commit 8eb4288)

# Conflicts:
#	ur_robot_driver/test/integration_test_force_mode.py
@urfeex
Copy link
Member Author

urfeex commented May 28, 2025

@Mergifyio backport jazzy

@mergify
Copy link

mergify bot commented May 28, 2025

backport jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request May 28, 2025
* [force mode controller] Fix the task frame orientation

Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.

* Update force_mode example to include a pose that is not in line with one of the main axes

* Make test use an arbitraty orientation

This should avoid a coincitental overlap if the transformation is wrong.

(cherry picked from commit 8eb4288)
urfeex pushed a commit that referenced this pull request May 28, 2025
…1379) (#1381)

* [force mode controller] Fix the task frame orientation

Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.

* Update force_mode example to include a pose that is not in line with one of the main axes

* Make test use an arbitraty orientation

This should avoid a coincitental overlap if the transformation is wrong.
urfeex added a commit that referenced this pull request Jun 2, 2025
Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.

* Update force_mode example to include a pose that is not in line with one of the main axes

* Make test use an arbitraty orientation

This should avoid a coincitental overlap if the transformation is wrong.

(cherry picked from commit 8eb4288)

# Conflicts:
#	ur_robot_driver/test/integration_test_force_mode.py
urfeex added a commit that referenced this pull request Jun 2, 2025
… (#1380)

Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.

* Update force_mode example to include a pose that is not in line with one of the main axes

* Make test use an arbitraty orientation

This should avoid a coincitental overlap if the transformation is wrong.

(cherry picked from commit 8eb4288)

# Conflicts:
#	ur_robot_driver/test/integration_test_force_mode.py

* [force mode controller] Fix the task frame orientation (#1379)

Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.

* Update force_mode example to include a pose that is not in line with one of the main axes

* Make test use an arbitraty orientation

This should avoid a coincitental overlap if the transformation is wrong.

(cherry picked from commit 8eb4288)

# Conflicts:
#	ur_robot_driver/test/integration_test_force_mode.py

---------

Co-authored-by: Felix Exner <feex@universal-robots.com>
u-decs pushed a commit to u-decs/Universal_Robots_ROS2_Driver that referenced this pull request Jun 17, 2025
…ersalRobots#1379) (UniversalRobots#1380)

Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.

* Update force_mode example to include a pose that is not in line with one of the main axes

* Make test use an arbitraty orientation

This should avoid a coincitental overlap if the transformation is wrong.

(cherry picked from commit 8eb4288)

# Conflicts:
#	ur_robot_driver/test/integration_test_force_mode.py

* [force mode controller] Fix the task frame orientation (UniversalRobots#1379)

Before, we were using a RPY notation. Chaning that to an angle-axis
notation should fix things.

* Update force_mode example to include a pose that is not in line with one of the main axes

* Make test use an arbitraty orientation

This should avoid a coincitental overlap if the transformation is wrong.

(cherry picked from commit 8eb4288)

# Conflicts:
#	ur_robot_driver/test/integration_test_force_mode.py

---------

Co-authored-by: Felix Exner <feex@universal-robots.com>
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.

Force Mode Controller - Incorrect Force Vector

2 participants