cpp_robotics::LowPassFilter
ローパスフィルター
#include <low_pass_filter.hpp>
Inherits from cpp_robotics::TransferFunction
Public Functions
Name | |
---|---|
LowPassFilter(double omega, double dt) Construct a new Low Pass Filter object. |
|
double | filtering(double u) フィルタリングする |
double | omega() const 折れ点周波数[rad/s]の取得 |
Additional inherited members
Public Classes inherited from cpp_robotics::TransferFunction
Name | |
---|---|
struct | tf_t |
Protected Classes inherited from cpp_robotics::TransferFunction
Name | |
---|---|
class | CircularBuffer |
Public Functions inherited from cpp_robotics::TransferFunction
Name | |
---|---|
TransferFunction | make_first_order_system(const double T, const double Ts) |
TransferFunction | make_second_order_system(const double omega, const double zeta, const double Ts) |
TransferFunction() =default | |
TransferFunction(std::vector< double > num, std::vector< double > den, const double Ts) Construct a new Transfer Function object. |
|
TransferFunction(const tf_t & tf_config) | |
void | set_continuous(std::vector< double > num, std::vector< double > den, const double dt) |
void | set_discrite(std::vector< double > num_disc, std::vector< double > den_disc, const double dt) |
double | Ts() const サンプリング周期 |
virtual void | reset(double state =0) |
double | responce(double u) |
size_t | num_deg(size_t num_idx =0) const |
size_t | den_deg(size_t num_idx =0) const |
std::vector< double > | num_array() const |
std::vector< double > | den_array() const |
operator tf_t() const | |
tf_t | inv() const |
tf_t | operator+(double val) const |
tf_t | operator-(double val) const |
tf_t | operator*(double val) const |
tf_t | operator/(double val) const |
Protected Attributes inherited from cpp_robotics::TransferFunction
Name | |
---|---|
std::vector< double > | num_array_ |
std::vector< double > | den_array_ |
std::vector< double > | num_ |
std::vector< double > | den_ |
CircularBuffer< double > | u_ |
CircularBuffer< double > | y_ |
double | dt_ |
Friends inherited from cpp_robotics::TransferFunction
Public Functions Documentation
function LowPassFilter
inline LowPassFilter(
double omega,
double dt
)
Construct a new Low Pass Filter object.
Parameters:
- omega 折れ点周波数[rad/s]
- dt サンプリング周期
function filtering
inline double filtering(
double u
)
フィルタリングする
Parameters:
- u
Return: double
function omega
inline double omega() const
折れ点周波数[rad/s]の取得
Return: double
Updated on 2024-05-28 at 06:55:39 +0000