-
Notifications
You must be signed in to change notification settings - Fork 408
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
rclcpp "throttle" logging #797
Comments
If we remove the I came up with the following ideas:
I personally think the first option is easier to implement and less error prone than the second one. |
How about option 4: passing a function pointer with the same signature as |
rcl_clock_t can't be trivially copied because adding or removing clock jump callbacks to a copy will free the pointer held by the original instance. Signed-off-by: Shane Loretz<sloretz@openrobotics.org> Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
ros2#797) * Add spin_and_wait_for_matched to PublicationManager and update test codes Signed-off-by: Barry Xu <barry.xu@sony.com> * Address review comments Signed-off-by: Barry Xu <barry.xu@sony.com> * Wait without spin Signed-off-by: Barry Xu <barry.xu@sony.com> * Remove unused codes and adjust default sleep time Signed-off-by: Barry Xu <barry.xu@sony.com> * Fix wrong description of return value Signed-off-by: Barry Xu <barry.xu@sony.com>
Feature request:
rclcpp
logging
client library support forthrottle
loggers.I found a TODO in the source code, and figured it deserved to be called out in an issue for visibility:
This is also sort-of captured in a bullet point tucked away in a nearly-completed ticket in the ros2 repo: ros2/ros2#425
A description of the desired functionality can be found in the ROS1 wiki:
Throttle Logger
The text was updated successfully, but these errors were encountered: