25#ifndef __BTK_SSLAM_H__
26#define __BTK_SSLAM_H__
35#include "DSO/FullSystem/CoarseInitializer.h"
36#include "DSO/IOWrapper/Output3DWrapper.h"
37#include "DSO/util/Undistort.h"
38#include "DSO/util/NumType.h"
39#include "DSO/util/FrameShell.h"
40#include "DSO/util/settings.h"
44 dso::PointHessian*
ptr;
55 cv::Mat
DetectPlane(cv::Mat campos, std::vector<slamPoint> &vMPs,
const int iterations);
67 std::vector<slamPoint>
mMvMPs;
83 boost::mutex mImuMutex;
84 boost::mutex mResetMutex;
85 boost::mutex mDebugMutex;
86 dso::FullSystem* mSlam;
87 dso::Undistort* mUndistorter;
88 dso::ModelParams mCamParams;
93 std::vector<dso::ImuData> mImuFrame;
96 cv::Mat mPlane2Camera;
106 std::string mVocFile;
107 std::vector<slamPoint> mCloudPoints;
108 std::chrono::steady_clock::time_point mLastTimeFrame;
111 void BuildCameraParam(
const aruco::CameraParameters &camparam);
117 virtual void publishGraph(
const std::map<uint64_t, Eigen::Vector2i, std::less<uint64_t>, Eigen::aligned_allocator<std::pair<const uint64_t, Eigen::Vector2i>>> &connectivity)
override;
118 virtual void publishKeyframes(std::vector<dso::FrameHessian*> &frames,
bool final, dso::CalibHessian* HCalib)
override;
119 virtual void publishCamPose(dso::FrameShell* frame, dso::CalibHessian* HCalib)
override;
cv::Mat DetectPlane(cv::Mat campos, std::vector< slamPoint > &vMPs, const int iterations)
std::vector< slamPoint > mMvMPs
virtual void publishKeyframes(std::vector< dso::FrameHessian * > &frames, bool final, dso::CalibHessian *HCalib) override
virtual void join() override
BtQuaternion GetCameraOrientation()
virtual void pushLiveFrame(dso::FrameHessian *image) override
virtual void publishCamPose(dso::FrameShell *frame, dso::CalibHessian *HCalib) override
virtual void pushDepthImage(dso::MinimalImageB3 *image) override
Vector3 GetCameraPosition()
virtual void publishGraph(const std::map< uint64_t, Eigen::Vector2i, std::less< uint64_t >, Eigen::aligned_allocator< std::pair< const uint64_t, Eigen::Vector2i > > > &connectivity) override
virtual bool needPushDepthImage() override
virtual void reset() override
void DrawLandmarks(cv::Mat image)