-
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
Handle hardware errors in Resource Manager (backport #805) #abi-breaking #837
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.
Looks good for me
Any concerns/thoughts on this PR from the reviewers? Apart from the known ABI breaking |
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.
Could this mean that current behavior of a setup changes, because the hardware_components' read/write methods had already a return type, which was just ignored before?
virtual return_type write(const rclcpp::Time & time, const rclcpp::Duration & period) = 0; |
@bmagyar can we merge this? |
* Add code for deactivating controller when hardware gets an error on read and write. (cherry picked from commit e748824)
e59a7a3
to
126c647
Compare
This pull request is in conflict. Could you fix it @mergify[bot]? |
Can this PR be merged with breaking ABI? Similarly to other backport PR. These seem to be preventing the humble branch from upgrading to the new release, keeping it at version 2 where as the main branch has gone to version 4 now. |
fyi the first number of the version number stands for the respective ROS distro (2.. humble, 3.. iron, 4.. rolling). |
@Mergifyio rebase |
☑️ Nothing to do
|
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.
looks fine now! Just for completeness once again: User's hardware-components might explode now if they already returned ERROR.
This is an automatic backport of pull request #805 done by Mergify.
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.com