PrismaticJointFilter.h
Go to the documentation of this file.
1 /*
2  * PrismaticJointFilter.h
3  *
4  * Author: roberto
5  *
6  * This is a modified implementation of the method for online estimation of kinematic structures described in our paper
7  * "Online Interactive Perception of Articulated Objects with Multi-Level Recursive Estimation Based on Task-Specific Priors"
8  * (Martín-Martín and Brock, 2014).
9  * This implementation can be used to reproduce the results of the paper and to be applied to new research.
10  * The implementation allows also to be extended to perceive different information/models or to use additional sources of information.
11  * A detail explanation of the method and the system can be found in our paper.
12  *
13  * If you are using this implementation in your research, please consider citing our work:
14  *
15 @inproceedings{martinmartin_ip_iros_2014,
16 Title = {Online Interactive Perception of Articulated Objects with Multi-Level Recursive Estimation Based on Task-Specific Priors},
17 Author = {Roberto {Mart\'in-Mart\'in} and Oliver Brock},
18 Booktitle = {Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems},
19 Pages = {2494-2501},
20 Year = {2014},
21 Location = {Chicago, Illinois, USA},
22 Note = {http://www.robotics.tu-berlin.de/fileadmin/fg170/Publikationen_pdf/martinmartin_ip_iros_2014.pdf},
23 Url = {http://www.robotics.tu-berlin.de/fileadmin/fg170/Publikationen_pdf/martinmartin_ip_iros_2014.pdf},
24 Projectname = {Interactive Perception}
25 }
26  * If you have questions or suggestions, contact us:
27  * roberto.martinmartin@tu-berlin.de
28  *
29  * Enjoy!
30  */
31 
32 #ifndef PRISMATICJOINTFILTER_H_
33 #define PRISMATICJOINTFILTER_H_
34 
36 
37 // Bayesian Filtering ROS
38 #include <pdf/linearanalyticconditionalgaussian.h>
39 #include <pdf/analyticconditionalgaussian.h>
40 #include <pdf/analyticconditionalgaussian_additivenoise.h>
41 #include <wrappers/matrix/matrix_wrapper.h>
42 #include <filter/extendedkalmanfilter.h>
43 #include <model/linearanalyticsystemmodel_gaussianuncertainty.h>
44 #include <model/analyticmeasurementmodel_gaussianuncertainty.h>
45 #include <model/measurementmodel.h>
47 
48 namespace omip
49 {
50 
53 
55 {
56 public:
57 
58  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
59 
64 
68  virtual ~PrismaticJointFilter();
69 
76  PrismaticJointFilterPtr clone() const
77  {
78  return (PrismaticJointFilterPtr(doClone()));
79  }
80 
84  PrismaticJointFilter(const PrismaticJointFilter &prismatic_joint);
85 
90  virtual void predictState(double time_interval_ns);
91 
96  virtual void predictMeasurement();
97 
101  virtual void correctState();
102 
114  virtual geometry_msgs::TwistWithCovariance getPredictedSRBPoseWithCovInSensorFrame();
115 
122  virtual geometry_msgs::TwistWithCovariance getPredictedSRBDeltaPoseWithCovInSensorFrame();
123 
130  virtual geometry_msgs::TwistWithCovariance getPredictedSRBVelocityWithCovInSensorFrame();
131 
132  virtual void estimateUnnormalizedModelProbability() ;
133 
137  virtual std::vector<visualization_msgs::Marker> getJointMarkersInRRBFrame() const;
138 
142  virtual JointFilterType getJointFilterType() const;
143 
147  virtual std::string getJointFilterTypeStr() const;
148 
149  virtual void initialize();
150 
151  virtual void setCovarianceDeltaMeasurementLinear(double delta_meas);
152 
153 protected:
154 
162 
163  BFL::LinearAnalyticConditionalGaussian* _sys_PDF;
164  BFL::LinearAnalyticSystemModelGaussianUncertainty* _sys_MODEL;
165 
167  BFL::AnalyticMeasurementModelGaussianUncertainty* _meas_MODEL;
168 
169  BFL::ExtendedKalmanFilter* _ekf;
170 
171  void _initializeSystemModel();
173  void _initializeEKF();
174 
175  virtual PrismaticJointFilter* doClone() const
176  {
177  return (new PrismaticJointFilter(*this));
178  }
179 
180 };
181 
182 }
183 
184 #endif /* PRISMATICJOINTFILTER_H_ */
boost::shared_ptr< PrismaticJointFilter > PrismaticJointFilterPtr
virtual void estimateMeasurementHistoryLikelihood()
EIGEN_MAKE_ALIGNED_OPERATOR_NEW PrismaticJointFilter()
JointFilterType
Definition: JointFilter.h:71
virtual void setCovarianceDeltaMeasurementLinear(double delta_meas)
virtual std::vector< visualization_msgs::Marker > getJointMarkersInRRBFrame() const
PrismaticJointFilterPtr clone() const
virtual geometry_msgs::TwistWithCovariance getPredictedSRBPoseWithCovInSensorFrame()
We use the kinematic structure to predict the next pose-twist of the second rigid body of the joint (...
virtual void estimateUnnormalizedModelProbability()
virtual geometry_msgs::TwistWithCovariance getPredictedSRBVelocityWithCovInSensorFrame()
Generate a prediction about the velocity of the second rigid body (SRB) and its covariance using the ...
virtual PrismaticJointFilter * doClone() const
BFL::NonLinearPrismaticMeasurementPdf * _meas_PDF
virtual void predictState(double time_interval_ns)
First step when updating the filter. The next state is predicted from current state and system model...
BFL::LinearAnalyticConditionalGaussian * _sys_PDF
BFL::AnalyticMeasurementModelGaussianUncertainty * _meas_MODEL
BFL::ExtendedKalmanFilter * _ekf
virtual std::string getJointFilterTypeStr() const
virtual JointFilterType getJointFilterType() const
BFL::LinearAnalyticSystemModelGaussianUncertainty * _sys_MODEL
virtual geometry_msgs::TwistWithCovariance getPredictedSRBDeltaPoseWithCovInSensorFrame()
Generate a prediction about the change in pose of the second rigid body (SRB) and its covariance usin...


joint_tracker
Author(s): Roberto Martín-Martín
autogenerated on Mon Jun 10 2019 14:06:16