OpenSim Moco  0.4.0
Public Member Functions | List of all members
OpenSim::TabOpLowPassFilter Class Reference

Description

Apply a low-pass filter to the trajectory.

Examples:
example2DWalking.cpp.
Inheritance diagram for OpenSim::TabOpLowPassFilter:
OpenSim::TableOperator

#include <Moco/Moco/Common/TableProcessor.h>

Public Member Functions

 OpenSim_DECLARE_PROPERTY (cutoff_frequency, double, "Low-pass cutoff frequency (Hz) (default is -1, which means no " "filtering).")
 
 TabOpLowPassFilter (double cutoffFrequency)
 
void operate (TimeSeriesTable &table, const Model *model=nullptr) const override
 This function may or may not be provided with a model. More...
 

Member Function Documentation

◆ operate()

void OpenSim::TabOpLowPassFilter::operate ( TimeSeriesTable &  table,
const Model *  model = nullptr 
) const
inlineoverridevirtual

This function may or may not be provided with a model.

If the operation requires a model and model == nullptr, an exception is thrown.

Implements OpenSim::TableOperator.


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