Public Member Functions | Public Attributes | Protected Attributes | List of all members
cPcdFilterPaRosThrottle Class Reference

#include <pcdfilter_pa_ros_throttle.h>

Public Member Functions

bool checkNewInput (ros::Time time=ros::Time::now())
 checks if the current data is accepted More...
 
 cPcdFilterPaRosThrottle ()
 default constructor More...
 
void resetThrottle (void)
 forces the throttle filter to accept next input More...
 
 ~cPcdFilterPaRosThrottle ()
 default destructor More...
 

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 More...
 
ros::Time time_
 ros time of last input More...
 

Detailed Description

Definition at line 56 of file pcdfilter_pa_ros_throttle.h.

Constructor & Destructor Documentation

cPcdFilterPaRosThrottle::cPcdFilterPaRosThrottle ( )

default constructor

Definition at line 50 of file pcdfilter_pa_ros_throttle.cpp.

cPcdFilterPaRosThrottle::~cPcdFilterPaRosThrottle ( )

default destructor

Definition at line 61 of file pcdfilter_pa_ros_throttle.cpp.

Member Function Documentation

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.

Member Data Documentation

bool cPcdFilterPaRosThrottle::block_all_input_

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.

double cPcdFilterPaRosThrottle::minimum_time_before_reset_

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.

int cPcdFilterPaRosThrottle::skip_count_

parameter for skipping after each accepted input message skipping the next "count" messages

Definition at line 73 of file pcdfilter_pa_ros_throttle.h.

double cPcdFilterPaRosThrottle::skip_time_

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.


The documentation for this class was generated from the following files:


pcdfilter_pa
Author(s):
autogenerated on Mon Dec 23 2019 03:56:23