-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While this isn't currently used by rclcpp and rclpy, it *is* used inside of rcl, specifically in testing. Thus we need to implement it to pass all rcl tests. To reduce code duplication, this commit refactors __rmw_take() to handle this case. In particular, we rename __rmw_take() to __rmw_take_one(), with no error checking. Then we change rmw_take() and rmw_take_with_info() to do the error checking and call __rmw_take_one(). Finally we implement rmw_take_sequence() by calling __rwm_take_one() in a loop. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
d0b1825
commit d7243c0
Showing
1 changed file
with
131 additions
and
54 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