Skip to content
Snippets Groups Projects
Commit 45567edc authored by Mederic Fourmy's avatar Mederic Fourmy
Browse files

Remove print and add comment

parent d88ade8e
No related branches found
No related tags found
1 merge request!38Draft: Resolve "Improve visual odometry"
...@@ -352,6 +352,9 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider ...@@ -352,6 +352,9 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider
const TrackMatrix& getTrackMatrix() const {return track_matrix_;} const TrackMatrix& getTrackMatrix() const {return track_matrix_;}
///////////////////////////////////////
// MotionProvider related methods
VectorComposite getStateFromRelativeOriginLast(VectorComposite co_pose_cl) const; VectorComposite getStateFromRelativeOriginLast(VectorComposite co_pose_cl) const;
static VectorComposite pose_from_essential_matrix(const cv::Mat& _E, static VectorComposite pose_from_essential_matrix(const cv::Mat& _E,
...@@ -359,6 +362,8 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider ...@@ -359,6 +362,8 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider
const std::vector<cv::Point2d>& p2d_curr, const std::vector<cv::Point2d>& p2d_curr,
const cv::Mat& _K, const cv::Mat& _K,
cv::Mat& cvMask); cv::Mat& cvMask);
///////////////////////////////////////
/** \brief sequence of heuristics to decide if a track is worthy of becoming a landmark /** \brief sequence of heuristics to decide if a track is worthy of becoming a landmark
* *
......
...@@ -375,7 +375,6 @@ void ProcessorVisualOdometry::establishFactors() ...@@ -375,7 +375,6 @@ void ProcessorVisualOdometry::establishFactors()
// 2) create a landmark if the track is not associated with one and meets certain criterias // 2) create a landmark if the track is not associated with one and meets certain criterias
else if(new_landmark_is_viable(feat->trackId())) else if(new_landmark_is_viable(feat->trackId()))
{ {
WOLF_INFO(" NEW valid track \\o/")
Track track_kf = track_matrix_.trackAtKeyframes(feat->trackId()); Track track_kf = track_matrix_.trackAtKeyframes(feat->trackId());
// LandmarkBasePtr lmk = emplaceLandmarkTriangulation(feat_pi, track_kf); // LandmarkBasePtr lmk = emplaceLandmarkTriangulation(feat_pi, track_kf);
......
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