-
Notifications
You must be signed in to change notification settings - Fork 297
Added controller to enable and disable tool contact #940
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
Conversation
Split this pull request into two. This PR now only implements the tool contact functionality and testing of that (Will only work on E-series robots). The get_version service implementation has been moved to PR. |
64d0b35
to
d825856
Compare
Also added service to get robot software version.
This reverts commit f6bf8c6.
I've tested this today and while it seems to be working well, I think the interface should be improved:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #940 +/- ##
========================================
+ 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Removed tool contact functionality from GPIO controller.
…till untested. I have not done anything with starting and stopping the controller yet.
@URJala I gave that a try yesterday and I think the failing tests indicate some unstable state handling in the controller. Could you please have another look that the tests are all succeeding? |
…2_Driver into tool_contact
Compatibility has been checked in prepare already, so we can potentially start all in perform.
ur_controllers/include/ur_controllers/tool_contact_controller.hpp
Outdated
Show resolved
Hide resolved
ur_controllers/include/ur_controllers/tool_contact_controller.hpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Felix Exner <[email protected]>
…ctivated. No reason to do it here as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks and behaves fine now.
This adds a new controller to enable tool contact mode on the robot. --------- Co-authored-by: Felix Exner <[email protected]> (cherry picked from commit f1863a2) # Conflicts: # ur_robot_driver/src/hardware_interface.cpp # ur_robot_driver/urdf/ur.ros2_control.xacro
#1337) * This adds a new controller to enable tool contact mode on the robot. * Only append to start_modes in prepare_switch
Also added service to get robot software version.