EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
Filter.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_CONTROL_FILTER_HPP_
2 #define ORG_EEROS_CONTROL_FILTER_HPP_
3 
5 #include "../types.hpp"
6 #include "../constants.hpp"
7 
8 #include <stdlib.h>
9 #include <cmath>
10 
11 namespace eeros {
12  namespace control {
13 
14  class Filter: public Block1i1o<math::Vector2> {
15 
16  public:
17  Filter(double k);
18  virtual ~Filter();
19  virtual void run();
20 
21  protected:
22  double k;
23  AxisVector prev;
24  };
25  };
26 };
27 
28 #endif /* ORG_EEROS_CONTROL_FILTER_HPP_ */
Definition: Filter.hpp:14
Filter(double k)
Definition: Filter.cpp:7
virtual ~Filter()
Definition: Filter.cpp:9
virtual void run()
Definition: Filter.cpp:13
Definition: Config.hpp:14
double k
Definition: Filter.hpp:22
Definition: Block1i1o.hpp:12
AxisVector prev
Definition: Filter.hpp:23