visual-tracking-control
DrawFwdKinPoses.h
Go to the documentation of this file.
1 #ifndef DRAWFWDKINPOSES_H
2 #define DRAWFWDKINPOSES_H
3 
4 #include <memory>
5 #include <random>
6 
7 #include <BayesFilters/PFPrediction.h>
8 #include <BayesFilters/StateModel.h>
9 
10 namespace bfl {
11  class DrawFwdKinPoses;
12 }
13 
14 
15 class bfl::DrawFwdKinPoses : public bfl::PFPrediction
16 {
17 public:
18  DrawFwdKinPoses() noexcept;
19 
20  DrawFwdKinPoses(DrawFwdKinPoses&& pf_prediction) noexcept;
21 
22  ~DrawFwdKinPoses() noexcept;
23 
24  DrawFwdKinPoses& operator=(DrawFwdKinPoses&& pf_prediction) noexcept;
25 
26 
27  StateModel& getStateModel() override;
28 
29  void setStateModel(std::unique_ptr<StateModel> state_model) override;
30 
31  ExogenousModel& getExogenousModel() override;
32 
33  void setExogenousModel(std::unique_ptr<ExogenousModel> exogenous_model) override;
34 
35 protected:
36  void predictStep(const Eigen::Ref<const Eigen::MatrixXf>& prev_states, const Eigen::Ref<const Eigen::VectorXf>& prev_weights,
37  Eigen::Ref<Eigen::MatrixXf> pred_states, Eigen::Ref<Eigen::VectorXf> pred_weights) override;
38 
39  std::unique_ptr<StateModel> state_model_;
40 
41  std::unique_ptr<ExogenousModel> exogenous_model_;
42 };
43 
44 #endif /* DRAWFWDKINPOSES_H */
StateModel & getStateModel() override
void predictStep(const Eigen::Ref< const Eigen::MatrixXf > &prev_states, const Eigen::Ref< const Eigen::VectorXf > &prev_weights, Eigen::Ref< Eigen::MatrixXf > pred_states, Eigen::Ref< Eigen::VectorXf > pred_weights) override
std::unique_ptr< StateModel > state_model_
DrawFwdKinPoses & operator=(DrawFwdKinPoses &&pf_prediction) noexcept
ExogenousModel & getExogenousModel() override
std::unique_ptr< ExogenousModel > exogenous_model_
void setExogenousModel(std::unique_ptr< ExogenousModel > exogenous_model) override
void setStateModel(std::unique_ptr< StateModel > state_model) override