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

Rename origin_capture_ to origin_capture_ptr_

parent 7b66b981
No related branches found
No related tags found
1 merge request!318CaptureMotion: replace origin_frame_ptr_ by capture_origin_ptr_.
Pipeline #4264 passed
......@@ -106,7 +106,7 @@ class CaptureMotion : public CaptureBase
Eigen::MatrixXs data_cov_; ///< Motion data covariance
Eigen::VectorXs calib_preint_; ///< Calibration parameters used during pre-integration
MotionBuffer buffer_; ///< Buffer of motions between this Capture and the next one.
CaptureBaseWPtr origin_capture_; ///< Pointer to the origin capture of the motion
CaptureBaseWPtr origin_capture_ptr_; ///< Pointer to the origin capture of the motion
};
inline const Eigen::VectorXs& CaptureMotion::getData() const
......@@ -160,12 +160,12 @@ inline Eigen::VectorXs CaptureMotion::correctDelta(const VectorXs& _delta, const
inline wolf::CaptureBasePtr CaptureMotion::getOriginCapture()
{
return origin_capture_.lock();
return origin_capture_ptr_.lock();
}
inline void CaptureMotion::setOriginCapture(CaptureBasePtr _origin_capture)
{
origin_capture_ = _origin_capture;
origin_capture_ptr_ = _origin_capture;
}
inline VectorXs CaptureMotion::getCalibrationPreint() const
......
......@@ -21,7 +21,7 @@ CaptureMotion::CaptureMotion(const std::string & _type,
data_(_data),
data_cov_(_sensor_ptr ? _sensor_ptr->getNoiseCov() : Eigen::MatrixXs::Zero(_data.rows(), _data.rows())), // Someone should test this zero and do something smart accordingly
buffer_(),
origin_capture_(_origin_capture)
origin_capture_ptr_(_origin_capture)
{
//
}
......@@ -41,7 +41,7 @@ CaptureMotion::CaptureMotion(const std::string & _type,
data_(_data),
data_cov_(_data_cov),
buffer_(),
origin_capture_(_origin_capture)
origin_capture_ptr_(_origin_capture)
{
//
}
......
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