slam,odometry,perception: di tren doc (G4, slam.yaml slope.enabled, mac dinh tat) -- z robot = tich -ds*sin(pitch IMU) kep phang < 1.5 do va neo vao ban do (HeightEstimator), odometry ngang, scan cho SLAM bu nghieng + bo tia cham san/doc theo ban do do cao tu depth (ScanLeveler, ElevationMap), z/roll/pitch luu vao node + do thi z 1-D + mat san theo node (height_map), voxel dat o z that va vat can tinh tu san cuc bo, xoa tuong gia LiDAR tren doc noi camera da thay mat san, web z uoc luong, --sim-imu-hz
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <opencv2/core.hpp>
|
||||
|
||||
#include "vslam/height_map.h"
|
||||
#include "vslam/rtabmap_params.h"
|
||||
#include "vslam/slam_types.h"
|
||||
#include "vslam/voxel_export.h"
|
||||
@@ -101,6 +102,20 @@ class RtabmapSlam {
|
||||
std::vector<int> MapNodeIds() const;
|
||||
StatusResponse GetNodeView(int id, bool with_depth, NodeView* out);
|
||||
|
||||
// ---- z ban do khi di tren doc (height_map.h) ----
|
||||
// Giai lai do thi z tu z DO cua node (userData) va lien ket cua do thi,
|
||||
// dung lai mat san. Node chua co z do thi nap tu DB (ban do quet truoc).
|
||||
// CHI luong slam goi. `nodes_out`: so node co z.
|
||||
StatusResponse UpdateHeights(const ZGraphConfig& cfg, size_t* nodes_out = nullptr);
|
||||
// Do cao san tai (x, y) frame map theo mat phang node gan nhat, chi khi
|
||||
// node do trong `radius`. false neu khong co. CHI luong slam goi.
|
||||
bool HeightAt(double x, double y, double radius, double* z) const;
|
||||
const FloorModel& floor_model() const;
|
||||
// Bat dung z node + mat san cho ban do voxel (sau UpdateHeights).
|
||||
void SetUseHeights(bool on);
|
||||
// O 2D noi camera thay mat san trong lan ExportVoxels cuoi (che do doc).
|
||||
const std::vector<uint64_t>& floor_cells() const;
|
||||
|
||||
StatusResponse Close(bool save_database);
|
||||
|
||||
const SlamStats& stats() const;
|
||||
|
||||
Reference in New Issue
Block a user