vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
KalmanFilter.h
Go to the documentation of this file.
1 #ifndef KALMAN_FILTER_H
2 #define KALMAN_FILTER_H
3 
5 
6 #ifdef COMPILE_PHANTOM_DEVICE
7 
8 //#include "kalman/ekfilter.hpp"
9 
10 namespace vreckoDP_PHANToM {
11 
12 // TODO: NOT READY
13 
14 /* PHANToM filter to reduce noise and generally limit high frequency changes. */
15 class KalmanFilter : public PHANToMFilter {
16 public:
17 // typedef Kalman::EKFilter<float, 0, false, false, false> PhantomFilter;
18 
19  KalmanFilter();
20 
21  virtual bool loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *parameters);
22 
23  virtual void apply(PHANToMSTATE &pState, osg::Vec3 &force, osg::Vec3 &torque);
24 
25 protected:
26 // PhantomFilter filter;
27 };
28 
29 }
30 
31 #endif
32 
33 
34 #endif