#include <filter-differentiator.hh>
|
| DECLARE_SIGNAL_IN (x, dynamicgraph::Vector) |
| Input signals. More...
|
|
| DECLARE_SIGNAL_INNER (x_dx_ddx, dynamicgraph::Vector) |
|
| DECLARE_SIGNAL_OUT (ddx, dynamicgraph::Vector) |
|
| DECLARE_SIGNAL_OUT (dx, dynamicgraph::Vector) |
|
| DECLARE_SIGNAL_OUT (x_filtered, dynamicgraph::Vector) |
| Output signal x_filtered. More...
|
|
virtual void | display (std::ostream &os) const |
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | FilterDifferentiator (const std::string &name) |
|
void | init (const double ×tep, const size_type &xSize, const Eigen::VectorXd &filter_numerator, const Eigen::VectorXd &filter_denominator) |
|
void | switch_filter (const Eigen::VectorXd &filter_numerator, const Eigen::VectorXd &filter_denominator) |
|
std::ostream & | displaySignalList (std::ostream &os) const |
|
| Entity (const std::string &name) |
|
virtual const std::string & | getClassName () const |
|
const std::string & | getCommandList () const |
|
virtual std::string | getDocString () const |
|
LoggerVerbosity | getLoggerVerbosityLevel () |
|
LoggerVerbosity | getLoggerVerbosityLevel () |
|
const std::string & | getName () const |
|
command::Command * | getNewStyleCommand (const std::string &cmdName) |
|
CommandMap_t | getNewStyleCommandMap () |
|
SignalBase< sigtime_t > & | getSignal (const std::string &signalName) |
|
const SignalBase< sigtime_t > & | getSignal (const std::string &signalName) const |
|
SignalMap | getSignalMap () const |
|
double | getStreamPrintPeriod () |
|
double | getStreamPrintPeriod () |
|
double | getTimeSample () |
|
double | getTimeSample () |
|
bool | hasSignal (const std::string &signame) const |
|
Logger & | logger () |
|
Logger & | logger () |
|
const Logger & | logger () const |
|
const Logger & | logger () const |
|
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
|
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
|
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
|
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
|
bool | setStreamPrintPeriod (double t) |
|
bool | setStreamPrintPeriod (double t) |
|
bool | setTimeSample (double t) |
|
bool | setTimeSample (double t) |
|
virtual SignalBase< sigtime_t > * | test () |
|
virtual void | test2 (SignalBase< sigtime_t > *) |
|
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
|
virtual std::ostream & | writeGraph (std::ostream &os) const |
|
virtual | ~Entity () |
|
Definition at line 58 of file filter-differentiator.hh.
◆ FilterDifferentiator()
dynamicgraph::sot::FilterDifferentiator::FilterDifferentiator |
( |
const std::string & |
name | ) |
|
◆ DECLARE_SIGNAL_IN()
◆ DECLARE_SIGNAL_INNER()
The following inner signals are used because this entity has some output signals whose related quantities are computed at the same time by the same algorithm To avoid the risk of recomputing the same things twice, we create an inner signal that groups together all the quantities that are computed together. Then the single output signals will depend on this inner signal, which is the one triggering the computations. Inner signals are not exposed, so that nobody can access them. This signal contains the estimated positions, velocities and accelerations.
◆ DECLARE_SIGNAL_OUT() [1/3]
◆ DECLARE_SIGNAL_OUT() [2/3]
◆ DECLARE_SIGNAL_OUT() [3/3]
Output signal x_filtered.
◆ display()
void dynamicgraph::sot::FilterDifferentiator::display |
( |
std::ostream & |
os | ) |
const |
|
virtual |
◆ DYNAMIC_GRAPH_ENTITY_DECL()
dynamicgraph::sot::FilterDifferentiator::DYNAMIC_GRAPH_ENTITY_DECL |
( |
| ) |
|
|
private |
◆ init()
Initialize the FilterDifferentiator.
- Parameters
-
timestep | Period (in seconds) after which the sensors' data are updated. |
sigSize | Size of the input signal. |
delay | Delay (in seconds) introduced by the estimation. This should be a multiple of timestep. |
- Note
- The estimationDelay is half of the length of the window used for the polynomial fitting. The larger the delay, the smoother the estimations.
Definition at line 92 of file filter-differentiator.cpp.
◆ switch_filter()
◆ m_dt
double dynamicgraph::sot::FilterDifferentiator::m_dt |
|
protected |
◆ m_filter
CausalFilter* dynamicgraph::sot::FilterDifferentiator::m_filter |
|
protected |
◆ m_x_size
size_type dynamicgraph::sot::FilterDifferentiator::m_x_size |
|
protected |
The documentation for this class was generated from the following files: