Skip to content
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

Working async controllers and components [not synchronized] (backport #1041) #1528

Open
wants to merge 1 commit into
base: humble
Choose a base branch
from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 8, 2024

I haven't found a good way to synchronize the controllers / components with the ros2 control node's thread without changing a lot of stuff inside the handles (and controllers), and since they are getting reworked anyway, I thought I'll wait until then.

Before that, this solution assumes that all writes to the command interfaces' double values are atomic operations.


This is an automatic backport of pull request #1041 done by Mergify.

(cherry picked from commit 2cbe470)

# Conflicts:
#	controller_manager/include/controller_manager/controller_manager.hpp
#	controller_manager/src/controller_manager.cpp
#	hardware_interface/include/hardware_interface/async_components.hpp
#	hardware_interface/src/resource_manager.cpp
@mergify mergify bot added the conflicts label May 8, 2024
Copy link
Contributor Author

mergify bot commented May 8, 2024

Cherry-pick of 2cbe470 has failed:

On branch mergify/bp/humble/pr-1041
Your branch is up to date with 'origin/humble'.

You are currently cherry-picking commit 2cbe470.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   controller_interface/include/controller_interface/async_controller.hpp
	modified:   controller_manager/src/ros2_control_node.cpp
	modified:   hardware_interface/include/hardware_interface/resource_manager.hpp

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	both modified:   controller_manager/include/controller_manager/controller_manager.hpp
	both modified:   controller_manager/src/controller_manager.cpp
	deleted by us:   hardware_interface/include/hardware_interface/async_components.hpp
	both modified:   hardware_interface/src/resource_manager.cpp

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant