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 78 of file smoothing_trajectory_filter.h.

Constructor & Destructor Documentation

◆ SmoothingTrajectoryFilter()

industrial_trajectory_filters::SmoothingTrajectoryFilter::SmoothingTrajectoryFilter ( )


Definition at line 81 of file smoothing_trajectory_filter.cpp.

◆ ~SmoothingTrajectoryFilter()

industrial_trajectory_filters::SmoothingTrajectoryFilter::~SmoothingTrajectoryFilter ( )


Definition at line 105 of file smoothing_trajectory_filter.cpp.

Member Function Documentation

◆ applyFilter()

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

Definition at line 110 of file smoothing_trajectory_filter.cpp.

◆ init()

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 86 of file smoothing_trajectory_filter.cpp.

Member Data Documentation

◆ coef_

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

Vector of coefficients

Definition at line 133 of file smoothing_trajectory_filter.h.

◆ gain_

double industrial_trajectory_filters::SmoothingTrajectoryFilter::gain_

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

Definition at line 131 of file smoothing_trajectory_filter.h.

◆ initialized_

bool industrial_trajectory_filters::SmoothingTrajectoryFilter::initialized_

was the init() function called sucessfully?

Definition at line 134 of file smoothing_trajectory_filter.h.

◆ num_coef_

int industrial_trajectory_filters::SmoothingTrajectoryFilter::num_coef_

Definition at line 132 of file smoothing_trajectory_filter.h.

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

Author(s): Shaun Edwards, Jorge Nicho
autogenerated on Wed Mar 2 2022 00:24:49