Skip to content
Snippets Groups Projects
Commit f3cbec3f authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Make some things 'public' for debugging purposes ...

TODO: to be reverted to ‘protected’
parent 311060d4
No related branches found
No related tags found
1 merge request!145Imu improvements
...@@ -72,6 +72,7 @@ class ProcessorIMU : public ProcessorMotion{ ...@@ -72,6 +72,7 @@ class ProcessorIMU : public ProcessorMotion{
const MatrixXs& _data_cov, const MatrixXs& _data_cov,
const FrameBasePtr& _frame_origin) override; const FrameBasePtr& _frame_origin) override;
virtual FeatureBasePtr createFeature(CaptureMotionPtr _capture_motion) override; virtual FeatureBasePtr createFeature(CaptureMotionPtr _capture_motion) override;
public:
virtual ConstraintBasePtr emplaceConstraint(FeatureBasePtr _feature_motion, virtual ConstraintBasePtr emplaceConstraint(FeatureBasePtr _feature_motion,
CaptureBasePtr _capture_origin) override; CaptureBasePtr _capture_origin) override;
......
...@@ -374,18 +374,22 @@ class ProcessorMotion : public ProcessorBase ...@@ -374,18 +374,22 @@ class ProcessorMotion : public ProcessorBase
const MatrixXs& _data_cov, const MatrixXs& _data_cov,
const FrameBasePtr& _frame_origin) = 0; const FrameBasePtr& _frame_origin) = 0;
public:
/** \brief create a feature corresponding to given capture and add the feature to this capture /** \brief create a feature corresponding to given capture and add the feature to this capture
* \param _capture_motion: the parent capture * \param _capture_motion: the parent capture
*/ */
FeatureBasePtr emplaceFeature(CaptureMotionPtr _capture_own); FeatureBasePtr emplaceFeature(CaptureMotionPtr _capture_own);
protected:
virtual FeatureBasePtr createFeature(CaptureMotionPtr _capture_own) = 0; virtual FeatureBasePtr createFeature(CaptureMotionPtr _capture_own) = 0;
public:
/** \brief create a constraint and link it in the wolf tree /** \brief create a constraint and link it in the wolf tree
* \param _feature_motion: the parent feature * \param _feature_motion: the parent feature
* \param _frame_origin: the frame constrained by this motion constraint * \param _frame_origin: the frame constrained by this motion constraint
*/ */
virtual ConstraintBasePtr emplaceConstraint(FeatureBasePtr _feature_motion, CaptureBasePtr _capture_origin) = 0; virtual ConstraintBasePtr emplaceConstraint(FeatureBasePtr _feature_motion, CaptureBasePtr _capture_origin) = 0;
protected:
Motion motionZero(const TimeStamp& _ts); Motion motionZero(const TimeStamp& _ts);
CaptureMotionPtr getCaptureMotionContainingTimeStamp(const TimeStamp& _ts); CaptureMotionPtr getCaptureMotionContainingTimeStamp(const TimeStamp& _ts);
......
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