-
Notifications
You must be signed in to change notification settings - Fork 267
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 a functionality to look for the controller type in the params file when not parsed #1502
Add a functionality to look for the controller type in the params file when not parsed #1502
Conversation
…e when not parsed
Does this mean that instead of
one can use this?
|
@christophfroehlich Yes, that should be possible now |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1502 +/- ##
==========================================
+ Coverage 88.31% 88.42% +0.10%
==========================================
Files 101 101
Lines 8313 8327 +14
Branches 725 726 +1
==========================================
+ Hits 7342 7363 +21
+ Misses 711 703 -8
- Partials 260 261 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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
@christophfroehlich I've found a corner case when loading multiple controllers from same file. This is fixed now. If you can take a look it would be great. 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.
I played around with the tests, it seems to work fine now.
Now using the
|
In the upcoming days, I will make changes on the ros2_control_demos, so you can check how this change will affect |
@christophfroehlich I've added the deprecation note to the |
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.
Thank you!
This will enable to have the config file as in ROS1 with their type defined in the params file. The advantage of having it like this is that the controller type and the parameters that are parsed are dependent, it is better to define the dependent data in one place.
Thank you