Skip to content

[Eloquent] Allow node clock use in logging macros#981

Merged
sloretz merged 1 commit intoeloquentfrom
eloquent_backport_970
Feb 6, 2020
Merged

[Eloquent] Allow node clock use in logging macros#981
sloretz merged 1 commit intoeloquentfrom
eloquent_backport_970

Conversation

@sloretz
Copy link
Copy Markdown
Contributor

@sloretz sloretz commented Feb 4, 2020

Backport of #970 to ROS Eloquent

Capturing a cached reference allows a clock object that is not a local
(e.g. the one returned by Node::get_clock()) to be passed to the throttle
logging macro.

Signed-off-by: Matt Schickler <mschickler@gmail.com>
Co-Authored-By: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz self-assigned this Feb 4, 2020
@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Feb 6, 2020

Merging without full CI since it's a cherry-pick backport (already passed CI once) and the PR job passed.

@sloretz sloretz merged commit 9dff67f into eloquent Feb 6, 2020
@delete-merged-branch delete-merged-branch bot deleted the eloquent_backport_970 branch February 6, 2020 16:23
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* support to publish as loaned message

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Add option to enable loan message

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Use disable-loan-message instead of enable-loan-message

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Change to inner class and return code instead of exception

Signed-off-by: Barry Xu <barry.xu@sony.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants