-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce overhead for inheriting from rclcpp::Executor when base functi…
…onality is not reused (#2506) * feat(clock): Added function to interrupt sleep This is useful in case a second thread needs to wake up another thread, that is sleeping using a clock. Signed-off-by: Janosch Machowinski <[email protected]> * feat: Added support for multi thread wait / shutdown This adds support for multiple threads waiting on the same clock, while an shutdown is invoked. Signed-off-by: Janosch Machowinski <[email protected]> * chore: Made Executor fully overloadable This commit makes every public funciton virtual, and adds virtual impl function for the existing template functions. The goal of this commit is to be able to fully control the everything from a derived class. Signed-off-by: Janosch Machowinski <[email protected]> * Update rclcpp/include/rclcpp/executor.hpp Co-authored-by: William Woodall <[email protected]> Signed-off-by: jmachowinski <[email protected]> * Update rclcpp/include/rclcpp/executor.hpp Co-authored-by: William Woodall <[email protected]> Signed-off-by: jmachowinski <[email protected]> * Update rclcpp/include/rclcpp/executor.hpp Co-authored-by: William Woodall <[email protected]> Signed-off-by: jmachowinski <[email protected]> * Update rclcpp/include/rclcpp/executor.hpp Co-authored-by: William Woodall <[email protected]> Signed-off-by: jmachowinski <[email protected]> * docs: added doc string for spin_until_future_complete_impl Signed-off-by: Janosch Machowinski <[email protected]> * made is_spinning not virtual Signed-off-by: Janosch Machowinski <[email protected]> * feat: Changed interface of spin_until_future_complete_impl This change allows it to use a second thread to wait for the future to become ready. Signed-off-by: Janosch Machowinski <[email protected]> * doc fixup Signed-off-by: William Woodall <[email protected]> * undo template->implicit conversion change Signed-off-by: William Woodall <[email protected]> * style Signed-off-by: William Woodall <[email protected]> --------- Signed-off-by: Janosch Machowinski <[email protected]> Signed-off-by: Janosch Machowinski <[email protected]> Signed-off-by: jmachowinski <[email protected]> Signed-off-by: William Woodall <[email protected]> Co-authored-by: Janosch Machowinski <[email protected]> Co-authored-by: jmachowinski <[email protected]>
- Loading branch information
1 parent
535d56f
commit 6bb9407
Showing
6 changed files
with
390 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.