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
This commit is part of merge request !145. Comments created here will be created in the context of that merge request.
......@@ -72,6 +72,7 @@ class ProcessorIMU : public ProcessorMotion{
const MatrixXs& _data_cov,
const FrameBasePtr& _frame_origin) override;
virtual FeatureBasePtr createFeature(CaptureMotionPtr _capture_motion) override;
public:
virtual ConstraintBasePtr emplaceConstraint(FeatureBasePtr _feature_motion,
CaptureBasePtr _capture_origin) override;
......
......@@ -374,18 +374,22 @@ class ProcessorMotion : public ProcessorBase
const MatrixXs& _data_cov,
const FrameBasePtr& _frame_origin) = 0;
public:
/** \brief create a feature corresponding to given capture and add the feature to this capture
* \param _capture_motion: the parent capture
*/
FeatureBasePtr emplaceFeature(CaptureMotionPtr _capture_own);
protected:
virtual FeatureBasePtr createFeature(CaptureMotionPtr _capture_own) = 0;
public:
/** \brief create a constraint and link it in the wolf tree
* \param _feature_motion: the parent feature
* \param _frame_origin: the frame constrained by this motion constraint
*/
virtual ConstraintBasePtr emplaceConstraint(FeatureBasePtr _feature_motion, CaptureBasePtr _capture_origin) = 0;
protected:
Motion motionZero(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