Public Member Functions | Private Attributes | List of all members
industrial_trajectory_filters::SmoothingTrajectoryFilter Class Reference

This class filters the trajectory using a Finite Impluse Response filter. More...

#include <smoothing_trajectory_filter.h>

Public Member Functions

bool applyFilter (robot_trajectory::RobotTrajectory &rob_trajectory) const
bool init (std::vector< double > &coef)
 Constructor. More...
 SmoothingTrajectoryFilter ()
 Constructor. More...
 ~SmoothingTrajectoryFilter ()
 Destructor. More...

Private Attributes

std::vector< double > coef_
double gain_
bool initialized_
int num_coef_

Detailed Description

This class filters the trajectory using a Finite Impluse Response filter.

Definition at line 46 of file smoothing_trajectory_filter.h.

Constructor & Destructor Documentation

industrial_trajectory_filters::SmoothingTrajectoryFilter::SmoothingTrajectoryFilter ( )


Definition at line 49 of file smoothing_trajectory_filter.cpp.

industrial_trajectory_filters::SmoothingTrajectoryFilter::~SmoothingTrajectoryFilter ( )


Definition at line 73 of file smoothing_trajectory_filter.cpp.

Member Function Documentation

bool industrial_trajectory_filters::SmoothingTrajectoryFilter::applyFilter ( robot_trajectory::RobotTrajectory rob_trajectory) const

Definition at line 78 of file smoothing_trajectory_filter.cpp.

bool industrial_trajectory_filters::SmoothingTrajectoryFilter::init ( std::vector< double > &  coef)


coefa vector of Smoothing coeficients with an odd number of values
true if the number of coeficients is odd, otherwise, false. All smoothing filters have odd number of coef

Definition at line 54 of file smoothing_trajectory_filter.cpp.

Member Data Documentation

std::vector<double> industrial_trajectory_filters::SmoothingTrajectoryFilter::coef_

Vector of coefficients

Definition at line 69 of file smoothing_trajectory_filter.h.

double industrial_trajectory_filters::SmoothingTrajectoryFilter::gain_

gain_ is the sum of the coeficients to achieve unity gain overall

Definition at line 67 of file smoothing_trajectory_filter.h.

bool industrial_trajectory_filters::SmoothingTrajectoryFilter::initialized_

was the init() function called sucessfully?

Definition at line 70 of file smoothing_trajectory_filter.h.

int industrial_trajectory_filters::SmoothingTrajectoryFilter::num_coef_

Definition at line 68 of file smoothing_trajectory_filter.h.

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

Author(s): Darby Lim , Hye-Jong KIM , Ryan Shim , Yong-Ho Na
autogenerated on Mon Jun 10 2019 14:12:12