This is a simple implementation of a throttle nodelet. It also allows using the more precise token bucket rate-limiting algorithm. More...
#include <memory>#include <mutex>#include <stdexcept>#include <string>#include <boost/bind.hpp>#include <boost/bind/placeholders.hpp>#include <nodelet/nodelet.h>#include <pluginlib/class_list_macros.h>#include <ros/message_event.h>#include <ros/rate.h>#include <ros/subscribe_options.h>#include <topic_tools/shape_shifter.h>#include <cras_cpp_common/functional.hpp>#include <cras_cpp_common/rate_limiter.h>#include <cras_cpp_common/string_utils.hpp>#include <cras_topic_tools/generic_lazy_pubsub.hpp>#include <cras_topic_tools/throttle_messages.h>
Go to the source code of this file.
Namespaces | |
| cras | |
This is a simple implementation of a throttle nodelet. It also allows using the more precise token bucket rate-limiting algorithm.
Definition in file throttle_messages.cpp.