reloc: --slam-reloc-vpr -- camera (VPR TensorRT + PnP) ket hop LiDAR, chot khi hai nguon trung
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <opencv2/core.hpp>
|
||||
|
||||
#include "vslam/rtabmap_params.h"
|
||||
#include "vslam/slam_types.h"
|
||||
@@ -32,6 +35,15 @@ class RtabmapSlamImpl; // o namespace scope, KHONG long trong class
|
||||
// (pimpl long private khong goi duoc tu .cc -- da
|
||||
// mac loi nay o ConfigNode va WebServer)
|
||||
|
||||
// Anh cua mot node ban do, cho dinh vi lai bang camera (vslam/visual_verifier.h).
|
||||
struct NodeView {
|
||||
cv::Mat gray; // anh IR (kenh "rgb" luc quet), 8 bit
|
||||
cv::Mat depth; // CV_16UC1 (mm); rong neu with_depth = false
|
||||
cv::Matx33d K; // DA bu binning -- dung nhu luc luu
|
||||
cv::Matx44d T_base_optical; // base (z tu san, gom nghieng luc chup) <- optical
|
||||
cv::Matx44d T_map_base; // pose TOI UU cua node
|
||||
};
|
||||
|
||||
class RtabmapSlam {
|
||||
public:
|
||||
RtabmapSlam();
|
||||
@@ -83,6 +95,12 @@ class RtabmapSlam {
|
||||
// chi ho moi biet tap truoc do la gi.
|
||||
StatusResponse ExportVoxels(const VoxelExportOptions& opt, VoxelGrid* out);
|
||||
|
||||
// Node co pose toi uu (ban do dang dung), va anh + hinh hoc camera cua mot node -- DUNG
|
||||
// nhu RTAB-Map da luu (K da bu binning, T gom nghieng luc chup). CHI luong slam goi (cung
|
||||
// luong Process()): doc thang Memory cua RTAB-Map.
|
||||
std::vector<int> MapNodeIds() const;
|
||||
StatusResponse GetNodeView(int id, bool with_depth, NodeView* out);
|
||||
|
||||
StatusResponse Close(bool save_database);
|
||||
|
||||
const SlamStats& stats() const;
|
||||
|
||||
Reference in New Issue
Block a user