-
Notifications
You must be signed in to change notification settings - Fork 310
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
add logic for 'params_file' to handle both string and string_array #1898
add logic for 'params_file' to handle both string and string_array #1898
Conversation
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 seems valid and I verified locally that this fixes a regression with the controller tests introduced earlier. Thanks @saikishor for the quick fix!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1898 +/- ##
=======================================
Coverage 87.84% 87.85%
=======================================
Files 121 121
Lines 12497 12515 +18
Branches 1124 1124
=======================================
+ Hits 10978 10995 +17
- Misses 1107 1108 +1
Partials 412 412
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Should we add a test for that functionality, or at least open a follow-up issue in doing so to quickly fix ros2_controllers test regression? |
Sure, I can add test to this one. Right now, I'm in middle of something I can do it right after that. |
Co-authored-by: Christoph Fröhlich <[email protected]>
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.
Humble test is failing
unknown file: Failure
C++ exception with description "parameter 'joint_names' has already been declared" thrown in the test body.
[ FAILED ] TestLoadController.spawner_test_with_params_file_string_parameter (741 ms)
c9a0ab9
into
ros-controls:master
Might be useful to have params_file to be both string and string_array