Skip to content
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

rosconsole: ROS_DEBUG_THROTTLE_COND #2

Open
dirk-thomas opened this issue May 21, 2018 · 1 comment
Open

rosconsole: ROS_DEBUG_THROTTLE_COND #2

dirk-thomas opened this issue May 21, 2018 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@dirk-thomas
Copy link
Member

From @ablasdel on January 8, 2013 22:42

A common use case for throttled rosconsole messages is to warn about some sanity-check condition being false, but not fill the screen with warnings. It would make sense to be able to say

ROS_DEBUG_THROTTLE_COND(5.0, !validityCheck(), "State is invalid!")

with the intended meaning that every 5 seconds, validityCheck is called, and if it's false the message is output. NAMED and STREAM variants would also be nice.

Copied from original issue: ros/ros_comm#69

@dirk-thomas
Copy link
Member Author

Related to #68

@dirk-thomas dirk-thomas added the enhancement New feature or request label May 21, 2018
@dirk-thomas dirk-thomas added this to the untargeted milestone May 21, 2018
dirk-thomas pushed a commit that referenced this issue Jan 26, 2019
* Enabled Windows Build

* Add ROSCONSOLE_BACKEND_DECL for backend functions

* Add ROSCONSOLE_LOG4CXX_DECL for log4cxx interface functions

* Extract the impl interface to a separate header for impl dll to use (#2)

* Add ROSCONSOLE_BACKEND_DECL for backend functions

* Add ROSCONSOLE_LOG4CXX_DECL for log4cxx interface functions

* Extract the impl interface to a separate header for impl dll to use

* Fix bad merge (#3)

* add comment about visibility macros (#5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant