Removed deprecated standalone thread_priority variable #3173
Removed deprecated standalone thread_priority variable #3173gatetub wants to merge 3 commits intoros-controls:masterfrom
Conversation
|
This is my first contribution to ros2_control! I have updated the PR to target the master branch as requested and verified the build locally. I've also run pre-commit to ensure the formatting matches the project standards. I would appreciate a review when you have a moment, and I'm happy to make any further adjustments needed. Thanks for the guidance! @christophfroehlich |
christophfroehlich
left a comment
There was a problem hiding this comment.
Thanks for your first contribution. Please consider the comments and revise the changes.
hardware_interface/include/hardware_interface/hardware_info.hpp
Outdated
Show resolved
Hide resolved
hardware_interface/include/hardware_interface/hardware_info.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
where do these changes come from?
Please revise the changes, we only want to remove the deprecated variable and its usage.
There was a problem hiding this comment.
will changes be made to hardware_interface/include/hardware_interface/hardware_info.hpp only ? presence of thread_priority in rest files remain unchanged?
There was a problem hiding this comment.
I suggest removing the member variable, and go through the build errors where this variable was used ;) Please remove all the deprecation-silencing preprocessor macros added with #2644
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
Description
This Pull Request completes the planned removal of the standalone
thread_priorityvariable from theHardwareInfostruct, as part of the migration to the nestedasync_paramsstructure.Related Issue: Fixes #3160
Changes:
int thread_priorityfromHardwareInfo.component_parser.cppto remove deprecated#ifdefblocks.controller_interface_base.cppparameter declarations.descriptions.hppand verified existing tests intest_component_parser.cpp.Verification:
colcon build --packages-up-to hardware_interface controller_interfaceon themasterbranch.Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
To send us a pull request, please:
colcon testandpre-commit run(requires you to install pre-commit bypip3 install pre-commit)