Skip to content
Snippets Groups Projects
Commit 87e7a2bd authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

changed map of priors, now indexed by state block idx

parent 568a89bf
No related branches found
No related tags found
1 merge request!243Constraint prior sensor params
...@@ -50,7 +50,7 @@ class SensorBase : public NodeBase, public std::enable_shared_from_this<SensorBa ...@@ -50,7 +50,7 @@ class SensorBase : public NodeBase, public std::enable_shared_from_this<SensorBa
Eigen::VectorXs noise_std_; // std of sensor noise Eigen::VectorXs noise_std_; // std of sensor noise
Eigen::MatrixXs noise_cov_; // cov matrix of noise Eigen::MatrixXs noise_cov_; // cov matrix of noise
std::map<StateBlockPtr,FeatureBasePtr> params_prior_map_; // Priors (value and covariance) of extrinsic & intrinsic state blocks (multimap std::map<unsigned int,FeatureBasePtr> params_prior_map_; // Priors (value and covariance) of extrinsic & intrinsic state blocks (by index in state_block_vec_)
public: public:
/** \brief Constructor with noise size /** \brief Constructor with noise size
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment