We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0339c05 + 118dbc8 commit 339cc06Copy full SHA for 339cc06
src/video_stream.cpp
@@ -123,9 +123,9 @@ virtual void do_capture() {
123
continue;
124
}
125
if (!cap->read(frame)) {
126
- NODELET_ERROR_STREAM("Could not capture frame (frame_counter: " << frame_counter << ")");
+ NODELET_ERROR_STREAM_THROTTLE(1.0, "Could not capture frame (frame_counter: " << frame_counter << ")");
127
if (latest_config.reopen_on_read_failure) {
128
- NODELET_WARN("trying to reopen the device");
+ NODELET_WARN_STREAM_THROTTLE(1.0, "trying to reopen the device");
129
unsubscribe();
130
subscribe();
131
0 commit comments