Public Member Functions | Private Attributes | List of all members
RampFilter< T > Class Template Reference

#include <filters.h>

Inheritance diagram for RampFilter< T >:
Inheritance graph
[legend]

Public Member Functions

void clear ()
 
void clear (T last_value)
 
void input (T input_value)
 
output ()
 
 RampFilter (T acc, T dt)
 
void setAcc (T acc)
 
 ~RampFilter ()=default
 
- Public Member Functions inherited from Filter< T >
void add (const EventType &evt)
 
 Filter ()=default
 
virtual ~Filter ()=default
 
- Public Member Functions inherited from SimpleFilter< Msg >
const std::string & getName ()
 
Connection registerCallback (const boost::function< void(P)> &callback)
 
Connection registerCallback (const C &callback)
 
Connection registerCallback (void(*callback)(P))
 
Connection registerCallback (void(T::*callback)(P), T *t)
 
void setName (const std::string &name)
 

Private Attributes

acc_
 
dt_
 
last_value_
 

Additional Inherited Members

- Public Types inherited from Filter< T >
typedef ros::MessageEvent< Msg const > EventType
 
- Public Types inherited from SimpleFilter< Msg >
typedef boost::function< void(const MConstPtr &)> Callback
 
typedef boost::function< void(const EventType &)> EventCallback
 
typedef ros::MessageEvent< Msg const > EventType
 
typedef boost::shared_ptr< Msg const > MConstPtr
 
- Protected Member Functions inherited from SimpleFilter< Msg >
void signalMessage (const MConstPtr &msg)
 
void signalMessage (const ros::MessageEvent< Msg const > &event)
 

Detailed Description

template<typename T>
class RampFilter< T >

Definition at line 208 of file filters.h.

Constructor & Destructor Documentation

◆ RampFilter()

template<typename T >
RampFilter< T >::RampFilter ( acc,
dt 
)

Definition at line 397 of file filters.cpp.

◆ ~RampFilter()

template<typename T >
RampFilter< T >::~RampFilter ( )
default

Member Function Documentation

◆ clear() [1/2]

template<typename T >
void RampFilter< T >::clear
virtual

Implements Filter< T >.

Definition at line 411 of file filters.cpp.

◆ clear() [2/2]

template<typename T >
void RampFilter< T >::clear ( last_value)

Definition at line 417 of file filters.cpp.

◆ input()

template<typename T >
void RampFilter< T >::input ( input_value)
virtual

Implements Filter< T >.

Definition at line 405 of file filters.cpp.

◆ output()

template<typename T >
T RampFilter< T >::output
virtual

Implements Filter< T >.

Definition at line 429 of file filters.cpp.

◆ setAcc()

template<typename T >
void RampFilter< T >::setAcc ( acc)

Definition at line 423 of file filters.cpp.

Member Data Documentation

◆ acc_

template<typename T >
T RampFilter< T >::acc_
private

Definition at line 221 of file filters.h.

◆ dt_

template<typename T >
T RampFilter< T >::dt_
private

Definition at line 222 of file filters.h.

◆ last_value_

template<typename T >
T RampFilter< T >::last_value_
private

Definition at line 220 of file filters.h.


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


rm_common
Author(s):
autogenerated on Thu Mar 6 2025 03:23:29