-
Notifications
You must be signed in to change notification settings - Fork 345
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
[Admittance] multiple state/command interfaces #1196
base: master
Are you sure you want to change the base?
[Admittance] multiple state/command interfaces #1196
Conversation
…e_command usage in `write_state_to_hardware` method
…h velocity command interface without position command interface
Hi everyone, just a gentle reminder to review this PR when you get a chance. Let me know if anything needs clarification. Thanks! |
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.
Hello!
Sorry for the late review. I have a comment on a change. Rest seems fine to me.
Is this fix tested on any hardware?
At that time, I tested it on a UR10e robot using both the position command interface and the velocity command interface separately. That’s why I didn’t notice the missing |
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.
There exists a newer PR #1434 addressing similar issues. Does it make sense to fix everything at once, and add proper tests for the multiple interfaces?
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1196 +/- ##
==========================================
+ Coverage 84.27% 84.33% +0.06%
==========================================
Files 123 123
Lines 11359 11390 +31
Branches 961 969 +8
==========================================
+ Hits 9573 9606 +33
+ Misses 1470 1466 -4
- Partials 316 318 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@christophfroehlich If you'd like, I can integrate those commits into my branch and push them to this PR. Let me know what you think! |
If you approve the changes and they are related, yes please merge them into your PR. Do you have an idea for adding a proper test for this use-case? |
Yes I think that they are somehow related to this PR since it deals with interfaces. Planned Tests for This PR:
Planned Tests for the Other PR (After Integrating Changes):
@christophfroehlich Do you have any other tests in mind that we should consider? |
sounds good. if the error you have encountered and fixed is tested, we already have improved it |
- configuration failed if position state interface is not provided - compatibility with only velocity command interface
… interface independently
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.
Thanks for adding tests and the other fixes. Failing tests are not related to this PR.
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.
LGTM
Just a minor comment
Thanks for adding tests
…faces` to position and velocity to ensure same default behavior after `allowed_reference_interfaces_types_` removal
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.
Now, LGTM
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.
one_init_parameter_is_missing
is failing now
…ted missing parameters after default value addition
I just pushed a new commit that removes this parameter from the list of tested ones in the test suite. |
This PR aims to address the following issues:
has
flags used in write and read methodsstate_commanded
used inwrite_state_to_hardware
else if
statement.Moreover: