-
Notifications
You must be signed in to change notification settings - Fork 196
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
[Example 12] Controller chaining example #318
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.
Thanks a lot, nice example!
I tried add a picture of the chain with view_controller_chains, but there seems to be an issue
ros-controls/ros2_control#1095
The example itself seem to work, so let's add the picture later once the cli script is fixed.
example_12/controllers/include/passthrough_controller/passthrough_controller.hpp
Outdated
Show resolved
Hide resolved
Maybe one thing which is not clear for me: Why does one need the 2nd level position_controller? I tried to directly link the first-level controllers to the forward_position_controller and it seems to work, too. Is this just for demonstration reasons I guess? |
Yes exactly, this is just for demonstration purposes. |
Co-authored-by: Christoph Fröhlich <[email protected]>
Could you just add a single sentence about that, maybe below literal 5? |
Done :) |
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.
Nice, thanks!
@Mergifyio backport humble |
✅ Backports have been created
|
Co-authored-by: Christoph Froehlich <[email protected]> (cherry picked from commit 2968016)
* [Example 12] Controller chaining example (#318) Co-authored-by: Christoph Froehlich <[email protected]> (cherry picked from commit 2968016) * remove the arguments from update_reference_from_subscribers to backport to humble (#336) --------- Co-authored-by: Sai Kishor Kothakota <[email protected]>
This PR is to write an example of controller chaining consolidating the PR's #162 and ros-controls/ros2_controllers#556.