Rate Limiter.
More...
#include <filters.h>
|
| RateLimiter (const yarp::sig::Vector &rL, const yarp::sig::Vector &rU) |
| Creates a Rate Limiter which keeps the rate of the input within assigned thresholds.
|
|
virtual void | init (const yarp::sig::Vector &u0) |
| Init internal state.
|
|
void | getLimits (yarp::sig::Vector &rL, yarp::sig::Vector &rU) |
| Returns the current Rate limits.
|
|
void | setLimits (const yarp::sig::Vector &rL, const yarp::sig::Vector &rU) |
| Sets new Rate limits.
|
|
virtual const yarp::sig::Vector & | filt (const yarp::sig::Vector &u) |
| Limits the input rate.
|
|
virtual const yarp::sig::Vector & | output () const |
| Return current filter output.
|
|
virtual | ~IFilter () |
| Destructor.
|
|
Rate Limiter.
Definition at line 180 of file filters.h.
◆ RateLimiter()
RateLimiter::RateLimiter |
( |
const yarp::sig::Vector & |
rL, |
|
|
const yarp::sig::Vector & |
rU |
|
) |
| |
Creates a Rate Limiter which keeps the rate of the input within assigned thresholds.
- Parameters
-
rL | Rate lower limit. |
rU | Rate upper limit. |
Definition at line 168 of file filters.cpp.
◆ filt()
const Vector & RateLimiter::filt |
( |
const yarp::sig::Vector & |
u | ) |
|
|
virtual |
◆ getLimits()
void RateLimiter::getLimits |
( |
yarp::sig::Vector & |
rL, |
|
|
yarp::sig::Vector & |
rU |
|
) |
| |
Returns the current Rate limits.
- Parameters
-
rL | Rate lower limit. |
rU | Rate upper limit. |
Definition at line 185 of file filters.cpp.
◆ init()
void RateLimiter::init |
( |
const yarp::sig::Vector & |
u0 | ) |
|
|
virtual |
◆ output()
virtual const yarp::sig::Vector & iCub::ctrl::RateLimiter::output |
( |
| ) |
const |
|
inlinevirtual |
◆ setLimits()
void RateLimiter::setLimits |
( |
const yarp::sig::Vector & |
rL, |
|
|
const yarp::sig::Vector & |
rU |
|
) |
| |
Sets new Rate limits.
- Parameters
-
rL | Rate lower limit. |
rU | Rate upper limit. |
- Note
- coherence between new limits length and the state length is not veriified.
Definition at line 193 of file filters.cpp.
size_t iCub::ctrl::RateLimiter::n |
|
protected |
◆ rateLowerLim
yarp::sig::Vector iCub::ctrl::RateLimiter::rateLowerLim |
|
protected |
◆ rateUpperLim
yarp::sig::Vector iCub::ctrl::RateLimiter::rateUpperLim |
|
protected |
◆ uD
yarp::sig::Vector iCub::ctrl::RateLimiter::uD |
|
protected |
◆ uLim
yarp::sig::Vector iCub::ctrl::RateLimiter::uLim |
|
protected |
The documentation for this class was generated from the following files:
- icub-main/src/libraries/ctrlLib/include/iCub/ctrl/filters.h
- icub-main/src/libraries/ctrlLib/src/filters.cpp