#include <pcdfilter_pa_ros_throttle.h>
Public Member Functions | |
bool | checkNewInput (ros::Time time=ros::Time::now()) |
checks if the current data is accepted | |
cPcdFilterPaRosThrottle () | |
default constructor | |
void | resetThrottle (void) |
forces the throttle filter to accept next input | |
~cPcdFilterPaRosThrottle () | |
default destructor | |
Public Attributes | |
bool | block_all_input_ |
double | minimum_time_before_reset_ |
int | skip_count_ |
double | skip_time_ |
Protected Attributes | |
int | count_input_ |
number of incoming messages - used for dropping some input | |
ros::Time | time_ |
ros time of last input |
Definition at line 56 of file pcdfilter_pa_ros_throttle.h.
default constructor
Definition at line 50 of file pcdfilter_pa_ros_throttle.cpp.
default destructor
Definition at line 61 of file pcdfilter_pa_ros_throttle.cpp.
bool cPcdFilterPaRosThrottle::checkNewInput | ( | ros::Time | time = ros::Time::now() | ) |
checks if the current data is accepted
Definition at line 65 of file pcdfilter_pa_ros_throttle.cpp.
void cPcdFilterPaRosThrottle::resetThrottle | ( | void | ) |
forces the throttle filter to accept next input
Definition at line 99 of file pcdfilter_pa_ros_throttle.cpp.
flag for disabling throttle if set (true) then every input will be blocked
Definition at line 85 of file pcdfilter_pa_ros_throttle.h.
int cPcdFilterPaRosThrottle::count_input_ [protected] |
number of incoming messages - used for dropping some input
Definition at line 89 of file pcdfilter_pa_ros_throttle.h.
parameter for handling time discontinuities if set (>= 0) then a message being older than this will reset internal time
Definition at line 81 of file pcdfilter_pa_ros_throttle.h.
parameter for skipping after each accepted input message skipping the next "count" messages
Definition at line 73 of file pcdfilter_pa_ros_throttle.h.
parameter for skipping after each accepted input message skipping all messages within "time"
Definition at line 76 of file pcdfilter_pa_ros_throttle.h.
ros::Time cPcdFilterPaRosThrottle::time_ [protected] |
ros time of last input
Definition at line 91 of file pcdfilter_pa_ros_throttle.h.